diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2015-06-09 21:34:48 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2015-06-09 21:34:48 +0200 |
| commit | 0151252a27c48d357cb0cad49101cee3782a629c (patch) | |
| tree | 1ed1f13aa787417c419a7c0cdf35d928ed2eaa8a /src/json.cc | |
| parent | bf0d9ff5b2ce6cde02b230ebe1b47fbb4777925f (diff) | |
Fix warnings
Diffstat (limited to 'src/json.cc')
| -rw-r--r-- | src/json.cc | 6 |
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(); |
