Use std::string instead of Glib::ustring for key of map in camconst, #4140

This commit is contained in:
heckflosse
2017-10-13 21:34:55 +02:00
parent 5a0e4de607
commit e6f57b1978
2 changed files with 4 additions and 4 deletions

View File

@@ -184,7 +184,7 @@ CameraConst::parseEntry(void *cJSON_, const char *make_model)
js = (cJSON *)cJSON_;
CameraConst *cc = new CameraConst;
cc->make_model = Glib::ustring(make_model);
cc->make_model = make_model;
ji = cJSON_GetObjectItem(js, "dcraw_matrix");
@@ -739,7 +739,7 @@ CameraConstantsStore::get(const char make[], const char model[])
key += " ";
key += model;
key = key.uppercase();
std::map<Glib::ustring, CameraConst *>::iterator it;
std::map<std::string, CameraConst *>::iterator it;
it = mCameraConstants.find(key);
if (it == mCameraConstants.end()) {