diff --git a/include/ctre/wrapper.hpp b/include/ctre/wrapper.hpp index 36d495f4..ce7aaa4b 100644 --- a/include/ctre/wrapper.hpp +++ b/include/ctre/wrapper.hpp @@ -170,7 +170,7 @@ template struct regular_expres return multi_subject_range{std::forward(range)}; } constexpr CTRE_FORCE_INLINE static auto exec() noexcept { - return Method::template exec(); + return Method::exec(); } template constexpr CTRE_FORCE_INLINE static auto exec(IteratorBegin begin, IteratorEnd end) noexcept { return Method::template exec(begin, end, RE{}); diff --git a/single-header/ctre-unicode.hpp b/single-header/ctre-unicode.hpp index bf9b05b2..9f8701cb 100644 --- a/single-header/ctre-unicode.hpp +++ b/single-header/ctre-unicode.hpp @@ -5602,7 +5602,7 @@ template struct regular_expres return multi_subject_range{std::forward(range)}; } constexpr CTRE_FORCE_INLINE static auto exec() noexcept { - return Method::template exec(); + return Method::exec(); } template constexpr CTRE_FORCE_INLINE static auto exec(IteratorBegin begin, IteratorEnd end) noexcept { return Method::template exec(begin, end, RE{}); diff --git a/single-header/ctre.hpp b/single-header/ctre.hpp index 49d7db4e..3e756dcf 100644 --- a/single-header/ctre.hpp +++ b/single-header/ctre.hpp @@ -5599,7 +5599,7 @@ template struct regular_expres return multi_subject_range{std::forward(range)}; } constexpr CTRE_FORCE_INLINE static auto exec() noexcept { - return Method::template exec(); + return Method::exec(); } template constexpr CTRE_FORCE_INLINE static auto exec(IteratorBegin begin, IteratorEnd end) noexcept { return Method::template exec(begin, end, RE{});