summaryrefslogtreecommitdiff
path: root/src/buildtool/common/action.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/common/action.hpp')
-rw-r--r--src/buildtool/common/action.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/buildtool/common/action.hpp b/src/buildtool/common/action.hpp
index c134ae25..4a4be183 100644
--- a/src/buildtool/common/action.hpp
+++ b/src/buildtool/common/action.hpp
@@ -110,15 +110,15 @@ class Action {
}
private:
- ActionIdentifier id_{};
- std::vector<std::string> command_{};
- std::string cwd_{};
- std::map<std::string, std::string> env_{};
+ ActionIdentifier id_;
+ std::vector<std::string> command_;
+ std::string cwd_;
+ std::map<std::string, std::string> env_;
bool is_tree_{};
- std::optional<std::string> may_fail_{};
+ std::optional<std::string> may_fail_;
bool no_cache_{};
double timeout_scale_{};
- std::map<std::string, std::string> execution_properties_{};
+ std::map<std::string, std::string> execution_properties_;
explicit Action(ActionIdentifier id) noexcept
: id_{std::move(id)}, is_tree_{true} {}