diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2018-08-25 23:57:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-28 17:56:29 (GMT) |
commit | 65ab9ce93882070191ad84fe96239e50d0b62b6e (patch) | |
tree | d2f52de2bf29664c675b2f3f328a459c795b1537 /Source/cmServerProtocol.cxx | |
parent | 0b26ab15c4b2c61e377b46d5b912a2893ef65e26 (diff) | |
download | CMake-65ab9ce93882070191ad84fe96239e50d0b62b6e.zip CMake-65ab9ce93882070191ad84fe96239e50d0b62b6e.tar.gz CMake-65ab9ce93882070191ad84fe96239e50d0b62b6e.tar.bz2 |
Genex: Return Evaluate results as const std::string&
Also remove unused overloads.
Diffstat (limited to 'Source/cmServerProtocol.cxx')
-rw-r--r-- | Source/cmServerProtocol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx index f0a5e26..8fafeea 100644 --- a/Source/cmServerProtocol.cxx +++ b/Source/cmServerProtocol.cxx @@ -728,7 +728,7 @@ static Json::Value DumpSourceFilesList( const std::string INCLUDE_DIRECTORIES("INCLUDE_DIRECTORIES"); if (const char* cincludes = file->GetProperty(INCLUDE_DIRECTORIES)) { - const char* evaluatedIncludes = + const std::string& evaluatedIncludes = genexInterpreter.Evaluate(cincludes, INCLUDE_DIRECTORIES); lg->AppendIncludeDirectories(includes, evaluatedIncludes, *file); |