diff options
-rw-r--r-- | vdslib/src/vespa/vdslib/state/clusterstate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vdslib/src/vespa/vdslib/state/clusterstate.cpp b/vdslib/src/vespa/vdslib/state/clusterstate.cpp index e50b18a5a82..b90e78104fc 100644 --- a/vdslib/src/vespa/vdslib/state/clusterstate.cpp +++ b/vdslib/src/vespa/vdslib/state/clusterstate.cpp @@ -74,7 +74,7 @@ ClusterState::ClusterState(const vespalib::string& serialized) if (index == vespalib::string::npos) { throw IllegalArgumentException("Token " + *it + " does not contain ':': " + serialized, VESPA_STRLOC); } - vespalib::stringref key = it->substr(0, index); + vespalib::string key = it->substr(0, index); vespalib::stringref value = it->substr(index + 1); if (key.size() > 0 && key[0] == '.') { if (lastAbsolutePath == "") { |