We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2298ae commit 2c1f968Copy full SHA for 2c1f968
src/ystdlib/error_handling/ErrorCode.hpp
@@ -87,7 +87,7 @@ class ErrorCode {
87
/**
88
* @return The reference to the singleton of the corresponded error category.
89
*/
90
- [[nodiscard]] static constexpr auto get_category() -> ErrorCategory<ErrorCodeEnum> const& {
+ [[nodiscard]] constexpr static auto get_category() -> ErrorCategory<ErrorCodeEnum> const& {
91
return cCategory;
92
}
93
0 commit comments