aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file-cache.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-02-10 11:52:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-02-10 11:52:34 +0200
commitdd25960e27d2f127e05d9f992eb577bc20e395ab (patch)
tree9a90b6f0a37081e3dbeacdbbf6439d5d5af5e71a /libbuild2/file-cache.hxx
parentafe22af6ad346c653ed02109835e88348f4ecf5b (diff)
Make few global types separately constructible/initializable
Diffstat (limited to 'libbuild2/file-cache.hxx')
-rw-r--r--libbuild2/file-cache.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/libbuild2/file-cache.hxx b/libbuild2/file-cache.hxx
index d6904ed..d210685 100644
--- a/libbuild2/file-cache.hxx
+++ b/libbuild2/file-cache.hxx
@@ -92,7 +92,12 @@ namespace build2
// to the noop implementation.
//
explicit
- file_cache (bool compress = true);
+ file_cache (bool compress);
+
+ file_cache () = default; // Create uninitialized instance.
+
+ void
+ init (bool compress);
class entry;