mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
Move Callback into its own header
This gets rid of the inclusion of <future> in util.hh, cutting compilation time by ~20s (CPU time). Issue #4045.
This commit is contained in:
parent
e8e1d420f3
commit
d51ba43047
12 changed files with 57 additions and 41 deletions
|
@ -11,6 +11,7 @@
|
|||
#include "nar-accessor.hh"
|
||||
#include "json.hh"
|
||||
#include "thread-pool.hh"
|
||||
#include "callback.hh"
|
||||
|
||||
#include <chrono>
|
||||
#include <future>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue