aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/config.cc
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2020-09-16 09:06:35 +0200
committerregnat <rg@regnat.ovh>2020-09-16 13:53:09 +0200
commite0817cbcdcdbec81d7ce2f5141b4f99bbc2bece7 (patch)
treed0eaeba8b40c8cf77caeaea49ab4effcf250925b /src/libutil/config.cc
parent93c0e14a308d513cf61daa7a003417e42a7dc2f8 (diff)
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
Diffstat (limited to 'src/libutil/config.cc')
-rw-r--r--src/libutil/config.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/config.cc b/src/libutil/config.cc
index faa5cdbeb..309d23b40 100644
--- a/src/libutil/config.cc
+++ b/src/libutil/config.cc
@@ -1,5 +1,6 @@
#include "config.hh"
#include "args.hh"
+#include "abstractsettingtojson.hh"
#include <nlohmann/json.hpp>