aboutsummaryrefslogtreecommitdiffstats
path: root/src/datastor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastor.cpp')
-rw-r--r--src/datastor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datastor.cpp b/src/datastor.cpp
index 69afd3ce2..c62edcb0a 100644
--- a/src/datastor.cpp
+++ b/src/datastor.cpp
@@ -88,7 +88,7 @@ std::string Data_Store::get1(const std::string& key) const
if(vals.size() > 1)
throw Invalid_State("Data_Store::get1: More than one value for " + key);
- return vals.at(0);
+ return vals[0];
}
/*************************************************