cmServerProtocol: pass cmBacktraceRange by value

This commit is contained in:
Daniel Pfeifer committed 2017-08-15 22:37:05 +02:00
1 parent 8ebd590b21
commit 91417e4ca3
1 file changed
+1 -1
+1 -1
View File
@@ -754,7 +754,7 @@ static Json::Value DumpBacktrace(const cmListFileBacktrace& backtrace)
}
static void DumpBacktraceRange(Json::Value& result, const std::string& type,
const cmBacktraceRange& range)
cmBacktraceRange range)
{
for (const auto& bt : range) {
Json::Value obj = Json::objectValue;