Skip to content

Commit c4143ab

Browse files
authored
Revert "Virtual functions with no code and non-void return: =0; silence compiler warning"
1 parent be6111f commit c4143ab

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rcsc/common/soccer_agent.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ class SoccerAgent {
138138
void handleMessage() = 0;
139139

140140
virtual
141-
bool handleMessageStep() = 0;
141+
bool handleMessageStep()
142+
{ }
142143

143144
/*!
144145
\brief (virtual) handle offline client log message in offline client mode.
@@ -162,7 +163,8 @@ class SoccerAgent {
162163

163164
virtual
164165
bool handleTimeoutStep( const int timeout_count,
165-
const int waited_msec ) = 0;
166+
const int waited_msec )
167+
{ }
166168

167169
/*!
168170
\brief (pure virtual) handle exit event

0 commit comments

Comments
 (0)