diff options
author | WereTech <17415815+WereTech@users.noreply.github.com> | 2025-02-23 16:31:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-23 16:31:03 -0600 |
commit | 0245e639ecc51d948f0256eb4a773d42fbb8ade5 (patch) | |
tree | 7fc9b120efda129c09e522fc08af2d28e52d3eb6 /source/base/StarConfiguration.hpp | |
parent | 3108120076bad6b934c43526200f2beed4c96753 (diff) | |
parent | 5dda9f47306a6eea5eb4e676c68f81b8285d9dfe (diff) |
Merge branch 'OpenStarbound:main' into main
Diffstat (limited to 'source/base/StarConfiguration.hpp')
-rw-r--r-- | source/base/StarConfiguration.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/base/StarConfiguration.hpp b/source/base/StarConfiguration.hpp index ffa66c3..4f5d97c 100644 --- a/source/base/StarConfiguration.hpp +++ b/source/base/StarConfiguration.hpp @@ -18,8 +18,8 @@ public: Json currentConfiguration() const; String printConfiguration() const; - Json get(String const& key) const; - Json getPath(String const& path) const; + Json get(String const& key, Json def = {}) const; + Json getPath(String const& path, Json def = {}) const; Json getDefault(String const& key) const; Json getDefaultPath(String const& path) const; |