diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-03-13 18:16:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-13 18:16:19 +0100 |
commit | 68ebbcab9390f86f4a4055513ef57c08728b9659 (patch) | |
tree | 5fb4ee1860f173e413c8d192fc62e9fb1bbda72f | |
parent | 4c2e7db73d0ab1d26566cfae6e7325b243591b16 (diff) | |
parent | e38a4ead43e67ffacd7f48f81034677af1faa516 (diff) |
Merge pull request #1993 from yahoo/vekterli/dont-return-stringref-from-temporary
Don't return stringref to temporary buffer
-rw-r--r-- | storage/src/vespa/storage/visiting/visitorthread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/visiting/visitorthread.cpp b/storage/src/vespa/storage/visiting/visitorthread.cpp index 48ff14d9dec..4b96faee14b 100644 --- a/storage/src/vespa/storage/visiting/visitorthread.cpp +++ b/storage/src/vespa/storage/visiting/visitorthread.cpp @@ -65,7 +65,7 @@ VisitorThread::Event::Event( } namespace { - vespalib::stringref getThreadName(uint32_t i) { + vespalib::string getThreadName(uint32_t i) { vespalib::asciistream name; name << "Visitor thread " << i; return name.str(); |