diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2019-12-29 10:36:48 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2019-12-30 15:55:39 (GMT) |
commit | 5444a8095da50cdf4306d33fe137baa7711f1781 (patch) | |
tree | c0ec64b08aa5fda9f7b8bb88f263ba5128a205da /Source/cmMakefileTargetGenerator.cxx | |
parent | 15526d4b1072647179290fb5c2d0a3a5275415c7 (diff) | |
download | CMake-5444a8095da50cdf4306d33fe137baa7711f1781.zip CMake-5444a8095da50cdf4306d33fe137baa7711f1781.tar.gz CMake-5444a8095da50cdf4306d33fe137baa7711f1781.tar.bz2 |
cmGlobalGenerator: modernize memrory managemenbt
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index 4979da5..a9f68a6 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -17,6 +17,7 @@ #include "cmGeneratorExpression.h" #include "cmGeneratorTarget.h" #include "cmGlobalUnixMakefileGenerator3.h" +#include "cmLinkLineComputer.h" #include "cmLocalCommonGenerator.h" #include "cmLocalUnixMakefileGenerator3.h" #include "cmMakefile.h" @@ -1634,7 +1635,8 @@ std::string cmMakefileTargetGenerator::CreateResponseFile( return responseFileName; } -cmLinkLineComputer* cmMakefileTargetGenerator::CreateLinkLineComputer( +std::unique_ptr<cmLinkLineComputer> +cmMakefileTargetGenerator::CreateLinkLineComputer( cmOutputConverter* outputConverter, cmStateDirectory const& stateDir) { if (this->Makefile->IsOn("MSVC60")) { |