diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-04 05:36:42 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-04 05:36:42 +0100 |
commit | b7e79490358043deccb62431fe4516f1811232e1 (patch) | |
tree | 6aceecd73d3f8597aac404f79b6f0614eea67852 /src/libutil/abstract-setting-to-json.hh | |
parent | 8ed486ebe6f79efe0f3203dc049fca9edc367bd1 (diff) |
Merge pull request #9299 from tfc/config-improvements
Improvements in src/libutil/config.*
(cherry picked from commit dea63bb81078d7290410544285c6df1a8e002952)
Change-Id: I8090eb2ad393dd9964cf2d5254ec8c796b1bd367
Diffstat (limited to 'src/libutil/abstract-setting-to-json.hh')
-rw-r--r-- | src/libutil/abstract-setting-to-json.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/abstract-setting-to-json.hh b/src/libutil/abstract-setting-to-json.hh index d506dfb74..eea687d8a 100644 --- a/src/libutil/abstract-setting-to-json.hh +++ b/src/libutil/abstract-setting-to-json.hh @@ -7,7 +7,7 @@ namespace nix { template<typename T> -std::map<std::string, nlohmann::json> BaseSetting<T>::toJSONObject() +std::map<std::string, nlohmann::json> BaseSetting<T>::toJSONObject() const { auto obj = AbstractSetting::toJSONObject(); obj.emplace("value", value); |