diff options
Diffstat (limited to 'src/other_tools/root_maps/fpath_git_map.cpp')
-rw-r--r-- | src/other_tools/root_maps/fpath_git_map.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/other_tools/root_maps/fpath_git_map.cpp b/src/other_tools/root_maps/fpath_git_map.cpp index 262d2b77..e7946e71 100644 --- a/src/other_tools/root_maps/fpath_git_map.cpp +++ b/src/other_tools/root_maps/fpath_git_map.cpp @@ -62,12 +62,13 @@ auto CreateFilePathGitMap( return; } // get head commit - GitOpKey op_key = {{ - *repo_root, // target_path - "", // git_hash - "", // branch - }, - GitOpType::GET_HEAD_ID}; + GitOpKey op_key = {.params = + { + *repo_root, // target_path + "", // git_hash + "", // branch + }, + .op_type = GitOpType::GET_HEAD_ID}; critical_git_op_map->ConsumeAfterKeysReady( ts, {std::move(op_key)}, |