summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-03-05 15:36:50 -0800
committerGitHub <noreply@github.com>2018-03-05 15:36:50 -0800
commit3d31caa30e094d337a4919b3d1e6ba9259e461b8 (patch)
treee99bc99c2ce450f7d0c4fa8c0938b24e886af996 /src/base
parenta2e78ec8dd5e935b6ef166154be7ee35bffc6d32 (diff)
Enable -Wsuggest-override by default. (#1643)
Adds missing override keywords.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/output.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/output.h b/src/base/output.h
index cdc0ac27f..b7f743e56 100644
--- a/src/base/output.h
+++ b/src/base/output.h
@@ -51,7 +51,7 @@ public:
* stream. Perhaps this is not so critical, but recommended; this
* way the output stream looks like it's functioning, in a non-error
* state. */
- int overflow(int c) { return c; }
+ int overflow(int c) override { return c; }
};/* class null_streambuf */
/** A null stream-buffer singleton */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback