Add missing override keyword:

* Enable the `suggest-override` warning for gcc
* Fix all functions that were flagged by that warning
This commit is contained in:
Joe Loser
2018-05-13 10:55:45 -04:00
committed by seelabs
parent 0ae157a5c3
commit 7c785d0d7c
145 changed files with 276 additions and 271 deletions

View File

@@ -63,7 +63,7 @@ class Taker_test : public beast::unit_test::suite
}
STAmount
get_funds (AccountID const& owner, STAmount const& funds) const
get_funds (AccountID const& owner, STAmount const& funds) const override
{
if (owner == account ())
return funds_;
@@ -358,7 +358,7 @@ public:
}
void
run()
run() override
{
test_xrp_to_iou ();
test_iou_to_xrp ();