Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/utility/update_tilesets.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 20:23:44 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-27 20:23:44 +1000
commit332983c97b7a729c4dc5f19aa9ee4a22c420f7d8 (patch)
treefd9c441b796b522bdd5c7f8fbd32f51b8eff2a28 /source/utility/update_tilesets.cpp
parent14b9689b6d4f4ad5276c88130dc6e449bedc0709 (diff)
The Formatting String Catastrophe
Diffstat (limited to 'source/utility/update_tilesets.cpp')
-rw-r--r--source/utility/update_tilesets.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/utility/update_tilesets.cpp b/source/utility/update_tilesets.cpp
index e5b850b..3d689ba 100644
--- a/source/utility/update_tilesets.cpp
+++ b/source/utility/update_tilesets.cpp
@@ -179,7 +179,7 @@ void scanObjects(TilesetUpdater& updater) {
for (String const& objectName : objects->allObjects()) {
auto orientations = objects->getOrientations(objectName);
if (orientations.size() < 1) {
- Logger::warn("Object %s has no orientations and will not be exported", objectName);
+ Logger::warn("Object {} has no orientations and will not be exported", objectName);
continue;
}
@@ -244,7 +244,7 @@ int main(int argc, char** argv) {
TilesetUpdater updater;
for (String source : root->assets()->assetSources()) {
- Logger::info("Assets source: \"%s\"", source);
+ Logger::info("Assets source: \"{}\"", source);
updater.defineAssetSource(source);
}
@@ -256,7 +256,7 @@ int main(int argc, char** argv) {
return 0;
} catch (std::exception const& e) {
- cerrf("exception caught: %s\n", outputException(e, true));
+ cerrf("exception caught: {}\n", outputException(e, true));
return 1;
}
}