diff options
author | Jack Lloyd <[email protected]> | 2017-10-05 10:20:00 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-05 10:20:00 -0400 |
commit | 16c8da287cc2cb62f5edfc945f8663a47baec09c (patch) | |
tree | deb9d960b9670bc10dc5583a37d742406e487785 /src/lib/rng | |
parent | 26f9dd665cf513b0d71c8e39a035fde696549322 (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')
-rw-r--r-- | src/lib/rng/rng.h | 2 |
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 */ } }; /** |