Skip to content

Commit a67d6da

Browse files
committed
use push_back instead of +=
push_back makes it clear that it's a single character. Signed-off-by: Rosen Penev <[email protected]>
1 parent 72e6f90 commit a67d6da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/convert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ void Converter::cnvExifVersion(const char* from, const char* to) {
745745
std::string value;
746746
value.reserve(count);
747747
for (size_t i = 0; i < count; ++i) {
748-
value += static_cast<char>(pos->toInt64(i));
748+
value.push_back(pos->toInt64(i));
749749
}
750750
(*xmpData_)[to] = value;
751751
if (erase_)

0 commit comments

Comments
 (0)