diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-09-21 18:47:18 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-09-21 18:47:18 +0200 |
commit | 340ca382c4de5863f0ecb5c67bae5461ea20c60b (patch) | |
tree | 5164470f459d7de16768bac95dca3e1f99f1ccbc /src | |
parent | d51ba430473368b29abfd1a8c4655da74b3a780c (diff) |
Don't include nlohmann/json.hpp in globals.hh
This reduces compilation time by 207s.
Issue #4045.
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/globals.cc | 1 | ||||
-rw-r--r-- | src/libstore/globals.hh | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index 491c664db..7b841d925 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -2,6 +2,7 @@ #include "util.hh" #include "archive.hh" #include "args.hh" +#include "abstractsettingtojson.hh" #include <algorithm> #include <map> diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 02721285a..8a2d3ff75 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -2,7 +2,6 @@ #include "types.hh" #include "config.hh" -#include "abstractsettingtojson.hh" #include "util.hh" #include <map> |