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
Showing
- src/libstore/globals.hh 1 addition, 0 deletionssrc/libstore/globals.hh
- src/libutil/abstractsettingtojson.hh 15 additions, 0 deletionssrc/libutil/abstractsettingtojson.hh
- src/libutil/config.cc 1 addition, 0 deletionssrc/libutil/config.cc
- src/libutil/config.hh 2 additions, 8 deletionssrc/libutil/config.hh
Loading
Please register or sign in to comment