diff options
-rw-r--r-- | src/buildtool/storage/target_cache_key.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/storage/target_cache_key.hpp b/src/buildtool/storage/target_cache_key.hpp index 70d06464..d901fb9e 100644 --- a/src/buildtool/storage/target_cache_key.hpp +++ b/src/buildtool/storage/target_cache_key.hpp @@ -26,6 +26,7 @@ // Key for target cache. Created from target name and effective config. class TargetCacheKey { public: + explicit TargetCacheKey(Artifact::ObjectInfo id) : id_{std::move(id)} {} [[nodiscard]] static auto Create( std::string const& repo_key, BuildMaps::Base::NamedTarget const& target_name, @@ -43,7 +44,6 @@ class TargetCacheKey { } private: - explicit TargetCacheKey(Artifact::ObjectInfo id) : id_{std::move(id)} {} Artifact::ObjectInfo id_; }; |