diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-11-29 16:15:47 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-12-02 11:04:20 +0100 |
commit | e429d3f2905f1ba74d39a79d24eeefb408c8db92 (patch) | |
tree | 9a2828f9b4c549dce31c61f0b685cb6ef060f014 | |
parent | af759f79b9a04ea914edf35037951c1fe993d824 (diff) | |
download | justbuild-e429d3f2905f1ba74d39a79d24eeefb408c8db92.tar.gz |
Replace default value of GitOpValue's result field by std::nullopt.
-rw-r--r-- | src/other_tools/git_operations/git_ops_types.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/other_tools/git_operations/git_ops_types.hpp b/src/other_tools/git_operations/git_ops_types.hpp index f36c18c3..70553f04 100644 --- a/src/other_tools/git_operations/git_ops_types.hpp +++ b/src/other_tools/git_operations/git_ops_types.hpp @@ -68,7 +68,7 @@ struct GitOpValue { // used to continue with non-critical ops on same odb, if needed GitCASPtr git_cas{nullptr}; // stores result of certain operations; always nullopt if failure - std::optional<std::string> result{""}; + std::optional<std::string> result = std::nullopt; }; #endif // INCLUDED_SRC_OTHER_TOOLS_GIT_OPERATIONS_GIT_OPS_TYPES_HPP |