Bug #989 ยป addmodel.patch
samples/addmoddel.cpp (working copy) | ||
---|---|---|
63 | 63 |
std::string date = tag.toString(); |
64 | 64 |
date.replace(0, 4, "2000"); |
65 | 65 |
tag.setValue(date); |
66 |
std::cout << "Modified key \"" << key
|
|
66 |
std::cout << "Modified key \"" << tag.key()
|
|
67 | 67 |
<< "\", new value \"" << tag.value() << "\"\n"; |
68 | 68 | |
69 | 69 |
// Alternatively, we can use findKey() |