diff options
Diffstat (limited to 'src/network/transportstate.h')
-rw-r--r-- | src/network/transportstate.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/network/transportstate.h b/src/network/transportstate.h index 2e4179d..e87c01d 100644 --- a/src/network/transportstate.h +++ b/src/network/transportstate.h @@ -34,18 +34,18 @@ #define TRANSPORT_STATE_HPP namespace Network { - template <class State> - class TimestampedState - { - public: - uint64_t timestamp; - uint64_t num; - State state; - - TimestampedState( uint64_t s_timestamp, uint64_t s_num, const State &s_state ) - : timestamp( s_timestamp ), num( s_num ), state( s_state ) - {} - }; +template<class State> +class TimestampedState +{ +public: + uint64_t timestamp; + uint64_t num; + State state; + + TimestampedState( uint64_t s_timestamp, uint64_t s_num, const State& s_state ) + : timestamp( s_timestamp ), num( s_num ), state( s_state ) + {} +}; } #endif |