From 59fc1a94e84278dedc80569b72756f336a705693 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Tue, 28 Jan 2020 21:53:45 +0100 Subject: Fix 'converting to std::stack from initializer list would use explicit constructor' issue on some versions of gcc. --- src/commentscan.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commentscan.l b/src/commentscan.l index 1e903d5..411f5a7 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -3189,7 +3189,7 @@ bool CommentScanner::parseCommentBlock(/* in */ OutlineParserInterface *pars // isBrief,isAutoBriefOn,lineNr); initParser(yyscanner); - yyextra->guards = {}; + yyextra->guards = std::stack(); yyextra->langParser = parser; yyextra->current = curEntry; if (comment.isEmpty()) return FALSE; // avoid empty strings -- cgit v0.12