mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 09:19:36 +01:00
Don't include nlohmann/json.hpp in config.hh
Instead make a separate header with the template implementation of `BaseSetting<T>::toJSONObj` that can be included where needed
This commit is contained in:
parent
93c0e14a30
commit
e0817cbcdc
4 changed files with 19 additions and 8 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "types.hh"
|
||||
#include "config.hh"
|
||||
#include "abstractsettingtojson.hh"
|
||||
#include "util.hh"
|
||||
|
||||
#include <map>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue