summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_tree.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/file_system/git_tree.hpp')
-rw-r--r--src/buildtool/file_system/git_tree.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildtool/file_system/git_tree.hpp b/src/buildtool/file_system/git_tree.hpp
index c6a0833e..f928b7d7 100644
--- a/src/buildtool/file_system/git_tree.hpp
+++ b/src/buildtool/file_system/git_tree.hpp
@@ -99,10 +99,10 @@ class GitTree {
// If set, ignore all fast tree lookups and always traverse.
bool ignore_special_;
- GitTree(gsl::not_null<GitCASPtr> const& cas,
- entries_t&& entries,
- std::string raw_id,
- bool ignore_special = false) noexcept
+ explicit GitTree(gsl::not_null<GitCASPtr> const& cas,
+ entries_t&& entries,
+ std::string raw_id,
+ bool ignore_special = false) noexcept
: cas_{cas},
entries_{std::move(entries)},
raw_id_{std::move(raw_id)},