Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
pre-commit-ci[bot] committed Dec 11, 2024
1 parent 1db6473 commit 1c0897f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nebula_common/include/nebula_common/util/expected.hpp
Original file line number Diff line number Diff line change
@@ -99,9 +99,9 @@ struct expected
}

expected(const T & value) : value_(value) {} // NOLINT(runtime/explicit)
expected(T && value) : value_(value) {} // NOLINT(runtime/explicit)
expected(T && value) : value_(value) {} // NOLINT(runtime/explicit)
expected(const E & error) : value_(error) {} // NOLINT(runtime/explicit)
expected(E && error) : value_(error) {} // NOLINT(runtime/explicit)
expected(E && error) : value_(error) {} // NOLINT(runtime/explicit)

private:
std::variant<T, E> value_;

0 comments on commit 1c0897f

Please sign in to comment.