diff options
Diffstat (limited to 'src/other_tools/ops_maps')
-rw-r--r-- | src/other_tools/ops_maps/critical_git_op_map.cpp | 2 | ||||
-rw-r--r-- | src/other_tools/ops_maps/critical_git_op_map.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/other_tools/ops_maps/critical_git_op_map.cpp b/src/other_tools/ops_maps/critical_git_op_map.cpp index cbab7c42..b7981db8 100644 --- a/src/other_tools/ops_maps/critical_git_op_map.cpp +++ b/src/other_tools/ops_maps/critical_git_op_map.cpp @@ -15,7 +15,7 @@ #include "src/other_tools/ops_maps/critical_git_op_map.hpp" // define the mapping to actual operations being called -GitOpKeyMap const GitOpKey::map_ = { +GitOpKeyMap const GitOpKey::kMap = { {GitOpType::INITIAL_COMMIT, CriticalGitOps::GitInitialCommit}, {GitOpType::ENSURE_INIT, CriticalGitOps::GitEnsureInit}, {GitOpType::KEEP_TAG, CriticalGitOps::GitKeepTag}, diff --git a/src/other_tools/ops_maps/critical_git_op_map.hpp b/src/other_tools/ops_maps/critical_git_op_map.hpp index 73ee6a70..5832462a 100644 --- a/src/other_tools/ops_maps/critical_git_op_map.hpp +++ b/src/other_tools/ops_maps/critical_git_op_map.hpp @@ -40,7 +40,7 @@ struct GitOpKey { [[nodiscard]] auto operation(GitOpParams const& params, AsyncMapConsumerLoggerPtr const& logger) const -> GitOpValue { - return map_.at(op_type)(params, logger); + return kMap.at(op_type)(params, logger); } [[nodiscard]] auto operator==(GitOpKey const& other) const -> bool { @@ -48,7 +48,7 @@ struct GitOpKey { } private: - static GitOpKeyMap const map_; + static GitOpKeyMap const kMap; }; class CriticalGitOpGuard; |