template<class T, class B> struct Derived_from {
static void constraints(T* p) { B* pb = p; }
- Derived_from() { void(*p)(T*) = constraints; }
+ Derived_from() { void(*/*p*/)(T*) = constraints; }
};
/** @brief server handling group of incoming commands
protected:
connection()
- : callbacks(__events_end), closed(false)
+ : closed(false), callbacks(__events_end)
{ }
std::string buffer;
private:
socket_server_connection(int _sock, socket_type_value _stype, int _timeout)
- : server_connection(_timeout), socket_handler(_sock,_stype)
+ : socket_handler(_sock,_stype), server_connection(_timeout)
{ }
~socket_server_connection();