Skip to content

Commit

Permalink
Add override keyword to test_delegate::on_message
Browse files Browse the repository at this point in the history
  • Loading branch information
abitmore committed Oct 23, 2022
1 parent d141973 commit 836db04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests/p2p_node_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class test_delegate : public graphene::net::peer_connection_delegate
{
}
void on_message( graphene::net::peer_connection* originating_peer,
const graphene::net::message& received_message )
const graphene::net::message& received_message ) override
{
ilog( "on_message was called with ${msg}", ("msg",received_message) );
try {
Expand Down

0 comments on commit 836db04

Please sign in to comment.