Skip to content

Commit 5d48c7e

Browse files
author
Hana Dusíková
committed
remove unneeded operator*
1 parent fde29df commit 5d48c7e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

include/ctre/return_type.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -231,14 +231,6 @@ template <typename Iterator, typename... Captures> class regex_results {
231231
return bool(_captures.template select<0>());
232232
}
233233

234-
constexpr CTRE_FORCE_INLINE auto operator*() const noexcept {
235-
return *this;
236-
}
237-
238-
constexpr CTRE_FORCE_INLINE auto operator*() noexcept {
239-
return *this;
240-
}
241-
242234
constexpr CTRE_FORCE_INLINE operator std::basic_string_view<char_type>() const noexcept {
243235
return to_view();
244236
}

0 commit comments

Comments
 (0)