diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-23 20:24:40 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-23 20:24:40 +1000 |
commit | e64aabfcf1237639fa5d53ed7e02c3a6510f4a0c (patch) | |
tree | c319339d75266ecd2083d3cbfcbe972648b668e1 /source/core/StarJson.cpp | |
parent | 01356293019e77ccaadd636b1c4d62733db419b0 (diff) |
add Nametag Directives
Diffstat (limited to 'source/core/StarJson.cpp')
-rw-r--r-- | source/core/StarJson.cpp | 2 |
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(); |