summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-15 20:37:05 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-15 20:37:05 (GMT)
commit91417e4ca39c216c9ca12a3418554ec7c6ba0950 (patch)
tree68343a9978859c36b7d524e6cb59be6614512625 /Source
parent8ebd590b211c26ea9a35a33d6f019e1909e0283c (diff)
downloadCMake-91417e4ca39c216c9ca12a3418554ec7c6ba0950.zip
CMake-91417e4ca39c216c9ca12a3418554ec7c6ba0950.tar.gz
CMake-91417e4ca39c216c9ca12a3418554ec7c6ba0950.tar.bz2
cmServerProtocol: pass cmBacktraceRange by value
Diffstat (limited to 'Source')
-rw-r--r--Source/cmServerProtocol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmServerProtocol.cxx b/Source/cmServerProtocol.cxx
index b371e9e..557bee0 100644
--- a/Source/cmServerProtocol.cxx
+++ b/Source/cmServerProtocol.cxx
@@ -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;