mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
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:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user