From cbca80f3516d7e5b2def6105a1b26b44bad7b6fe Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 8 Oct 2016 12:21:37 +0200 Subject: cmLocalGenerator: Move stringstream to where it is used --- Source/cmLocalGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index aec658a..565c0cd 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1406,7 +1406,6 @@ void cmLocalGenerator::OutputLinkLibraries( OutputFormat shellFormat = (forResponseFile) ? RESPONSE : ((useWatcomQuote) ? WATCOMQUOTE : SHELL); bool escapeAllowMakeVars = !forResponseFile; - std::ostringstream fout; cmComputeLinkInformation& cli = *pcli; @@ -1498,6 +1497,7 @@ void cmLocalGenerator::OutputLinkLibraries( } } + std::ostringstream fout; fout << rpath; // Write the library flags to the build rule. -- cgit v0.12