aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/rng.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-05 10:20:00 -0400
committerJack Lloyd <[email protected]>2017-10-05 10:20:00 -0400
commit16c8da287cc2cb62f5edfc945f8663a47baec09c (patch)
treedeb9d960b9670bc10dc5583a37d742406e487785 /src/lib/rng/rng.h
parent26f9dd665cf513b0d71c8e39a035fde696549322 (diff)
Add missing `override`
Redundant with `final` but GCC -Wsuggest-override complains. (This is already a bug filed for this in GCC upstream.)
Diffstat (limited to 'src/lib/rng/rng.h')
-rw-r--r--src/lib/rng/rng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rng/rng.h b/src/lib/rng/rng.h
index 34f62d1ff..f6fa80df0 100644
--- a/src/lib/rng/rng.h
+++ b/src/lib/rng/rng.h
@@ -179,7 +179,7 @@ typedef RandomNumberGenerator RNG;
class BOTAN_PUBLIC_API(2,0) Hardware_RNG : public RandomNumberGenerator
{
public:
- virtual void clear() final { /* no way to clear state of hardware RNG */ }
+ virtual void clear() final override { /* no way to clear state of hardware RNG */ }
};
/**