From 46fe9da26d2621dd8bf7f4bc94dbc816de50edb1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 6 Jan 2020 14:53:12 +0300 Subject: lexer: fix GCC build errors --- server/lexer/details/parse.cpp | 53 +++++++++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/server/lexer/details/parse.cpp b/server/lexer/details/parse.cpp index 25a77ce..efb3bdd 100644 --- a/server/lexer/details/parse.cpp +++ b/server/lexer/details/parse.cpp @@ -20,11 +20,12 @@ namespace math::server::lexer::details { namespace { -template typename MatchResultsT> +// This approach gives GCC on Travis an "internal compiler error": +//template