Index: source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp =================================================================== --- source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp +++ source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp @@ -286,7 +286,7 @@ } static StructuredData::Array * -ConvertToStructuredArray(ValueObjectSP return_value_sp, std::string items_name, std::string count_name, std::function const &callback) +ConvertToStructuredArray(ValueObjectSP return_value_sp, const std::string &items_name, std::string count_name, std::function const &callback) { StructuredData::Array *array = new StructuredData::Array(); unsigned int count = return_value_sp->GetValueForExpressionPath(count_name.c_str())->GetValueAsUnsigned(0);