add missing &

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-02-05 14:32:55 -08:00
parent 7e40da70c8
commit be387a60c3

View File

@ -94,7 +94,7 @@ struct TagVocabulary {
by looking up a reference table.
*/
template <size_t N, const StringTagDetails (&array)[N]>
std::ostream& printTagString(std::ostream& os, const std::string value, const ExifData*) {
std::ostream& printTagString(std::ostream& os, const std::string& value, const ExifData*) {
auto td = Exiv2::find(array, value);
if (td) {
os << exvGettext(td->label_);