summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-10 16:59:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-10 16:59:55 +0100
commitbb167ecdcf46ed00352ac9570580d623d20bfb14 (patch)
treeb97a7fa33ff3ebb3d6335df67852743967bab367
parent12bba10e2469303af10b74059ce2b4c17e3dcd10 (diff)
fix build
-rw-r--r--test/json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json.cpp b/test/json.cpp
index a7c9e84c..fa4564fd 100644
--- a/test/json.cpp
+++ b/test/json.cpp
@@ -34,7 +34,7 @@ static chunk make_test_chunk()
bool floormat::test_json() // NOLINT(readability-convert-member-functions-to-static)
{
- constexpr StringView output_dir = "../test/.";
+ constexpr auto output_dir = "../test/."_s;
{
auto atlas = loader.tile_atlas("metal1", {2, 2});
json_helper::to_json(atlas, Path::join(output_dir, "atlas.json"));