mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
fileapi: Avoid unnecessary CompileData move
This commit is contained in:
1 parent
8ce189720e
commit
c9c397a14a
1 file changed
+2
-2
@@ -287,7 +287,7 @@ class Target
|
||||
Json::ArrayIndex si);
|
||||
void AddBacktrace(Json::Value& object, cmListFileBacktrace const& bt);
|
||||
Json::Value DumpPaths();
|
||||
Json::Value DumpCompileData(CompileData cd);
|
||||
Json::Value DumpCompileData(CompileData const& cd);
|
||||
Json::Value DumpInclude(CompileData::IncludeEntry const& inc);
|
||||
Json::Value DumpDefine(BT<std::string> const& def);
|
||||
Json::Value DumpSources();
|
||||
@@ -915,7 +915,7 @@ Json::Value Target::DumpSource(cmGeneratorTarget::SourceAndKind const& sk,
|
||||
return source;
|
||||
}
|
||||
|
||||
Json::Value Target::DumpCompileData(CompileData cd)
|
||||
Json::Value Target::DumpCompileData(CompileData const& cd)
|
||||
{
|
||||
Json::Value result = Json::objectValue;
|
||||
|
||||
|
||||
Reference in new issue
Block a user