Make make_chaff() static class function to fix spurious clang warning
This commit is contained in:
@@ -260,7 +260,8 @@ void TransportSender<MyState>::rationalize_states( void )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static const string make_chaff( void )
|
template <class MyState>
|
||||||
|
const string TransportSender<MyState>::make_chaff( void )
|
||||||
{
|
{
|
||||||
const int CHAFF_MAX = 16;
|
const int CHAFF_MAX = 16;
|
||||||
|
|
||||||
|
|||||||
@@ -86,6 +86,8 @@ namespace Network {
|
|||||||
|
|
||||||
uint64_t last_heard; /* last time received new state */
|
uint64_t last_heard; /* last time received new state */
|
||||||
|
|
||||||
|
static const string make_chaff( void );
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/* constructor */
|
/* constructor */
|
||||||
TransportSender( Connection *s_connection, MyState &initial_state );
|
TransportSender( Connection *s_connection, MyState &initial_state );
|
||||||
|
|||||||
Reference in New Issue
Block a user