summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-10-17 16:41:42 (GMT)
committerGitHub <noreply@github.com>2019-10-17 16:41:42 (GMT)
commit718238418f53c206f045f69ed51e9a78d42734b0 (patch)
treef12e0a8be4679bb52d41e167ca134504ec7c8836
parent3bd04d0d99b4fbc36167ee6981ce3bfb4c0eb3b2 (diff)
parent237f5cfe759a9e0abc9514824f02581f84058d50 (diff)
downloadDoxygen-718238418f53c206f045f69ed51e9a78d42734b0.zip
Doxygen-718238418f53c206f045f69ed51e9a78d42734b0.tar.gz
Doxygen-718238418f53c206f045f69ed51e9a78d42734b0.tar.bz2
Merge pull request #7330 from albert-github/feature/bug_vhdl_unique_ptr
Discrepancy between vhdl input and generated sources
-rw-r--r--vhdlparser/vhdlparser.jj4
1 files changed, 2 insertions, 2 deletions
diff --git a/vhdlparser/vhdlparser.jj b/vhdlparser/vhdlparser.jj
index 6eb95b4..126118c 100644
--- a/vhdlparser/vhdlparser.jj
+++ b/vhdlparser/vhdlparser.jj
@@ -1730,7 +1730,7 @@ void package_declaration(): {QCString s;}
<PACKAGE_T> s=identifier() <IS_T>
{
lastCompound=current.get();
- std::unique_ptr<Entry> clone=std::make_unique_ptr<Entry>(*current);
+ std::unique_ptr<Entry> clone=std::make_unique<Entry>(*current);
clone->section=Entry::NAMESPACE_SEC;
clone->spec=VhdlDocGen::PACKAGE;
clone->name=s;
@@ -1932,7 +1932,7 @@ void process_statement() : {QCString s,s1,s2;Token *tok=0;}
currName=s;
current->name=currName;
- tempEntry=current;
+ tempEntry=current.get();
current->endBodyLine=getLine();
currP=0;
if(tok)