From acb2f4de2e24a06280088377e47534137c0bc759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hana=20Dusi=CC=81kova=CC=81?= Date: Mon, 3 Jun 2024 23:24:47 +0200 Subject: [PATCH] Should fix #307 --- include/ctre/wrapper.hpp | 2 +- single-header/ctre-unicode.hpp | 2 +- single-header/ctre.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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{});