Skip to content

Commit

Permalink
Don't include nlohmann/json.hpp in globals.hh
Browse files Browse the repository at this point in the history
This reduces compilation time by 207s.

Issue #4045.
  • Loading branch information
edolstra committed Sep 21, 2020
1 parent d51ba43 commit 340ca38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/libstore/globals.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "util.hh"
#include "archive.hh"
#include "args.hh"
#include "abstractsettingtojson.hh"

#include <algorithm>
#include <map>
Expand Down
1 change: 0 additions & 1 deletion src/libstore/globals.hh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "types.hh"
#include "config.hh"
#include "abstractsettingtojson.hh"
#include "util.hh"

#include <map>
Expand Down

0 comments on commit 340ca38

Please sign in to comment.