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

summaryrefslogtreecommitdiff
path: root/source/core/StarJson.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-23 20:24:40 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-23 20:24:40 +1000
commite64aabfcf1237639fa5d53ed7e02c3a6510f4a0c (patch)
treec319339d75266ecd2083d3cbfcbe972648b668e1 /source/core/StarJson.cpp
parent01356293019e77ccaadd636b1c4d62733db419b0 (diff)
add Nametag Directives
Diffstat (limited to 'source/core/StarJson.cpp')
-rw-r--r--source/core/StarJson.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarJson.cpp b/source/core/StarJson.cpp
index 341a23c..3f65e33 100644
--- a/source/core/StarJson.cpp
+++ b/source/core/StarJson.cpp
@@ -659,7 +659,7 @@ uint64_t Json::queryUInt(String const& query, uint64_t def) const {
return def;
}
-String Json::queryString(String const& query, String def) const {
+String Json::queryString(String const& query, String const& def) const {
auto json = JsonPath::pathFind(*this, JsonPath::parseQueryPath, query);
if (json && *json)
return json->toString();