summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Szmigin <smidge@xsco.net>2020-08-21 13:59:06 +0100
committerAdam Szmigin <smidge@xsco.net>2020-08-21 13:59:06 +0100
commit7c6fdedd5fbdb7c27c7ae6124055c55c0940a615 (patch)
tree028460e5518199f044c563893cfc980add991733
parent45da6ecbb7d1c2e46af1e937120a8f55cfa2f59d (diff)
Use literal for optional string
-rw-r--r--src/djinterop/enginelibrary/el_database_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/djinterop/enginelibrary/el_database_impl.cpp b/src/djinterop/enginelibrary/el_database_impl.cpp
index ac723d9..bb82e24 100644
--- a/src/djinterop/enginelibrary/el_database_impl.cpp
+++ b/src/djinterop/enginelibrary/el_database_impl.cpp
@@ -178,7 +178,7 @@ track el_database_impl::create_track(std::string relative_path)
case 15:
case 16:
// Always 1 to our knowledge
- text = "1";
+ text = std::string{"1"};
break;
}
metadata_str_inserter << id << type << text;