fixed compilation error with Apple Clang 7.0.0
(cherry picked from commit dd5b10d9dc8eb7447e37ac30ddd7545897c878b0)
This commit is contained in:
parent
38eb9f9f18
commit
30e77ee96f
@ -76,7 +76,8 @@ std::unique_ptr<Exiv2::Image> open_exiv2(const Glib::ustring& fname)
|
||||
#endif
|
||||
throw Exiv2::Error(error_code, "exiv2: invalid image");
|
||||
}
|
||||
return image;
|
||||
std::unique_ptr<Exiv2::Image> ret(image.release());
|
||||
return ret;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
@ -632,7 +632,7 @@ void ExifPanel::onEditExifTagValue(const Glib::ustring &path, const Glib::ustrin
|
||||
auto row = *it;
|
||||
std::string key = row[exifColumns.key];
|
||||
|
||||
changeList[key] = value;
|
||||
(*changeList)[key] = value;
|
||||
if (!all_keys_active()) {
|
||||
cur_active_keys_.insert(key);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user