Don't allocate a new string just for output.
Signed-off-by: Vassil Vassilev <vvasilev@cern.ch>
This commit is contained in:
parent
a0fa470342
commit
87415d29a9
@ -249,7 +249,7 @@ namespace cling {
|
||||
std::string valueStr = cling::valuePrinterInternal::printValueInternal(*this);
|
||||
|
||||
// Print the type and the value:
|
||||
Out << typeStr + " " + valueStr << "\n";
|
||||
Out << typeStr << " " << valueStr << '\n';
|
||||
}
|
||||
|
||||
void Value::dump() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user