summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2015-06-09 21:34:48 +0200
committerJoel Klinghed <the_jk@yahoo.com>2015-06-09 21:34:48 +0200
commit0151252a27c48d357cb0cad49101cee3782a629c (patch)
tree1ed1f13aa787417c419a7c0cdf35d928ed2eaa8a /src
parentbf0d9ff5b2ce6cde02b230ebe1b47fbb4777925f (diff)
Fix warnings
Diffstat (limited to 'src')
-rw-r--r--src/json.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/json.cc b/src/json.cc
index fc60ade..ac2e15f 100644
--- a/src/json.cc
+++ b/src/json.cc
@@ -175,7 +175,7 @@ public:
return true;
}
- std::string str() const {
+ std::string str() const override {
std::ostringstream ss;
write(ss, this);
return ss.str();
@@ -225,7 +225,7 @@ public:
}
}
- void erase(size_t index) {
+ void erase(size_t index) override {
data_.erase(data_.begin() + index);
}
@@ -276,7 +276,7 @@ public:
return true;
}
- std::string str() const {
+ std::string str() const override {
std::ostringstream ss;
write(ss, this);
return ss.str();