mirror of
https://github.com/NixOS/nix
synced 2025-07-06 09:11:47 +02:00
Make toJSONObject const
This commit is contained in:
parent
ad385f9ec4
commit
f404e9b3b3
3 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue