CDB: Pass string by reference

Change-Id: Iae3554e70105de1a526932b5c3f8c36485c1eab7
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Orgad Shaneh
2014-05-19 18:24:50 +03:00
committed by David Schulz
parent 6aa1f3ccc0
commit 41ac37dd01

View File

@@ -75,7 +75,7 @@ static inline void dump64bitPointerArray(std::ostream &os, const void *a, int co
// Fix the inner type of containers (that is, make it work smoothly with AddSymbol)
// by prefixing it with the module except for well-known types like STL/Qt types
static inline std::string fixInnerType(std::string type,
static inline std::string fixInnerType(const std::string &type,
const SymbolGroupValue &container)
{
std::string stripped