diff options
| author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-08-27 14:12:46 +0200 |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2019-08-27 10:17:33 -0400 |
| commit | e32f70036cd53b7a7f98b59920dcb5577dad7ec2 (patch) | |
| tree | 2029ec5a0a61541c2ac041b5735c36f5eb813bc9 /Source/cmQtAutoMocUic.h | |
| parent | 40bbe50e23c06232ccf1c49589dde5dd84e1ac31 (diff) | |
| download | cmake-e32f70036cd53b7a7f98b59920dcb5577dad7ec2.tar.gz | |
Autogen: Fix AUTOUIC segfault, when file includes colliding ui_*.h file
This fixes a case of use after move of a `std::shared_ptr` in `AUTOUIC`.
It triggered a segfault, when the error message for colliding `ui_*.h`
includes in different files was computed.
Diffstat (limited to 'Source/cmQtAutoMocUic.h')
| -rw-r--r-- | Source/cmQtAutoMocUic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoMocUic.h b/Source/cmQtAutoMocUic.h index 8061c13e6b..81546cc189 100644 --- a/Source/cmQtAutoMocUic.h +++ b/Source/cmQtAutoMocUic.h @@ -439,7 +439,7 @@ public: // -- Uic bool UicEval(SourceFileMapT const& fileMap); - bool UicEvalFile(SourceFileHandleT sourceFileHandle); + bool UicEvalFile(SourceFileHandleT const& sourceFileHandle); SourceFileHandleT UicFindIncludedUi(std::string const& sourceFile, std::string const& sourceDir, IncludeKeyT const& incKey) const; |
