summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-01-28 20:53:45 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-01-28 20:53:45 (GMT)
commit59fc1a94e84278dedc80569b72756f336a705693 (patch)
tree3a2f60750fec4fba45274884832889485ac26e97 /src
parente468a6944f24152080c2a9b322c6623bfff208b4 (diff)
downloadDoxygen-59fc1a94e84278dedc80569b72756f336a705693.zip
Doxygen-59fc1a94e84278dedc80569b72756f336a705693.tar.gz
Doxygen-59fc1a94e84278dedc80569b72756f336a705693.tar.bz2
Fix 'converting to std::stack<GuardedSection> from initializer list would use explicit constructor' issue on some versions of gcc.
Diffstat (limited to 'src')
-rw-r--r--src/commentscan.l2
1 files changed, 1 insertions, 1 deletions
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<GuardedSection>();
yyextra->langParser = parser;
yyextra->current = curEntry;
if (comment.isEmpty()) return FALSE; // avoid empty strings