Skip to content

Commit c04bfe4

Browse files
authored
Remove unnecessary static of not_matched
static here is unnecessary and duplicates the data in every translation unit.
1 parent cce1c94 commit c04bfe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ctre/return_type.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ constexpr bool is_random_accessible(...) { return false; }
2121

2222
struct not_matched_tag_t { };
2323

24-
static constexpr inline auto not_matched = not_matched_tag_t{};
24+
constexpr inline auto not_matched = not_matched_tag_t{};
2525

2626
template <size_t Id, typename Name = void> struct captured_content {
2727
template <typename Iterator> class storage {

0 commit comments

Comments
 (0)