aboutsummaryrefslogtreecommitdiffstats
path: root/src/datastor.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-05-29 19:27:00 +0000
committerlloyd <[email protected]>2006-05-29 19:27:00 +0000
commit244f85eb1d225839403b0e98ccd2dc9a6e94d34f (patch)
tree292c14d3011af59073052848cbdfaa83f12c492b /src/datastor.cpp
parente788f117bc34b86237586aeb3abb53c116c24be4 (diff)
Change some calls to vector.at() to use operator[] for GCC 2.95.x
compatability.
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];
}
/*************************************************