Bug fix in getting vector of values form KVStore
[archive/platform/core/system/libConfig.git] / src / config / kvstore.hpp
index 94258f1..6b75c91 100644 (file)
@@ -179,7 +179,7 @@ std::vector<T> KVStore::getInternal(const std::string& key, std::vector<T>*)
     std::vector<T> values(strValues.size());
 
     auto parse = [](const std::string & strValue) -> T {
-        std::istringstream iss;
+        std::istringstream iss(strValue);
         T value;
         iss >> value;
         return value;