diff --git a/NEWS.md b/NEWS.md index 63f48ff9..7faa75c2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -12,6 +12,7 @@ Version 0.7.3 - fix: crash when create an empty project - fix: syntax issues' filepath info not correct when build projects - fix: compiler autolinks options widget don't show autolink infos + - fix: autolink parameters are repeated when compile single files Version 0.7.2 - fix: rainbow parenthesis stop functioning when change editor's general options diff --git a/RedPandaIDE/compiler/compiler.cpp b/RedPandaIDE/compiler/compiler.cpp index 5aef3a4a..c74f1f35 100644 --- a/RedPandaIDE/compiler/compiler.cpp +++ b/RedPandaIDE/compiler/compiler.cpp @@ -501,7 +501,7 @@ QString Compiler::getLibraryArguments(FileType fileType) QString Compiler::parseFileIncludesForAutolink( const QString &filename, - QSet parsedFiles, + QSet& parsedFiles, PCppParser& parser) { QString result; diff --git a/RedPandaIDE/compiler/compiler.h b/RedPandaIDE/compiler/compiler.h index ad7b11ce..c7e405b6 100644 --- a/RedPandaIDE/compiler/compiler.h +++ b/RedPandaIDE/compiler/compiler.h @@ -57,7 +57,7 @@ protected: virtual QString getLibraryArguments(FileType fileType); virtual QString parseFileIncludesForAutolink( const QString& filename, - QSet parsedFiles, + QSet& parsedFiles, PCppParser& parser); void log(const QString& msg); void error(const QString& msg);