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

summaryrefslogtreecommitdiff
path: root/source/core/StarJson.hpp
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.hpp
parent01356293019e77ccaadd636b1c4d62733db419b0 (diff)
add Nametag Directives
Diffstat (limited to 'source/core/StarJson.hpp')
-rw-r--r--source/core/StarJson.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarJson.hpp b/source/core/StarJson.hpp
index 6ccc2a4..8c256f4 100644
--- a/source/core/StarJson.hpp
+++ b/source/core/StarJson.hpp
@@ -201,7 +201,7 @@ public:
bool queryBool(String const& path, bool def) const;
int64_t queryInt(String const& path, int64_t def) const;
uint64_t queryUInt(String const& path, uint64_t def) const;
- String queryString(String const& path, String def) const;
+ String queryString(String const& path, String const& def) const;
JsonArray queryArray(String const& path, JsonArray def) const;
JsonObject queryObject(String const& path, JsonObject def) const;