diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f93e243a..1aafabdff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -215,7 +215,7 @@ if (BUILD_TESTS OR BUILD_EXAMPLES) set (Boost_USE_MULTITHREADED TRUE) set (Boost_ADDITIONAL_VERSIONS "1.39.0" "1.40.0" "1.41.0" "1.42.0" "1.43.0" "1.44.0" "1.46.1") # todo: someone who knows better spesify these! - find_package (Boost 1.39.0 COMPONENTS "${WEBSOCKETPP_BOOST_LIBS}") + find_package (Boost 1.39.0 COMPONENTS ${WEBSOCKETPP_BOOST_LIBS}) if (Boost_FOUND) # Boost is a project wide global dependency. diff --git a/websocketpp/endpoint.hpp b/websocketpp/endpoint.hpp index c124b1d9a..9ce8a6261 100644 --- a/websocketpp/endpoint.hpp +++ b/websocketpp/endpoint.hpp @@ -109,7 +109,7 @@ class endpoint : public config::transport_type, public config::endpoint_base { /// Destructor - ~endpoint() {} + ~endpoint() {} #ifdef _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ // no copy constructor because endpoints are not copyable diff --git a/websocketpp/logger/basic.hpp b/websocketpp/logger/basic.hpp index 84514130e..7334a6f7a 100644 --- a/websocketpp/logger/basic.hpp +++ b/websocketpp/logger/basic.hpp @@ -58,33 +58,32 @@ namespace log { template class basic { public: - basic(channel_type_hint::value h = - channel_type_hint::access) + basic(channel_type_hint::value h = channel_type_hint::access) : m_static_channels(0xffffffff) , m_dynamic_channels(0) , m_out(h == channel_type_hint::error ? &std::cerr : &std::cout) {} - basic(std::ostream * out) + basic(std::ostream * out) : m_static_channels(0xffffffff) , m_dynamic_channels(0) , m_out(out) {} - basic(level c, channel_type_hint::value h = + basic(level c, channel_type_hint::value h = channel_type_hint::access) : m_static_channels(c) , m_dynamic_channels(0) , m_out(h == channel_type_hint::error ? &std::cerr : &std::cout) {} - basic(level c, std::ostream * out) + basic(level c, std::ostream * out) : m_static_channels(c) , m_dynamic_channels(0) , m_out(out) {} /// Destructor - ~basic() {} + ~basic() {} /// Copy constructor - basic(basic const & other) + basic(basic const & other) : m_static_channels(other.m_static_channels) , m_dynamic_channels(other.m_dynamic_channels) , m_out(other.m_out) @@ -92,12 +91,12 @@ class basic { #ifdef _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ // no copy assignment operator because of const member variables - basic & operator=(basic const &) = delete; + basic & operator=(basic const &) = delete; #endif // _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ #ifdef _WEBSOCKETPP_MOVE_SEMANTICS_ /// Move constructor - basic(basic && other) + basic(basic && other) : m_static_channels(other.m_static_channels) , m_dynamic_channels(other.m_dynamic_channels) , m_out(other.m_out) @@ -105,7 +104,7 @@ class basic { #ifdef _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ // no move assignment operator because of const member variables - basic & operator=(basic &&) = delete; + basic & operator=(basic &&) = delete; #endif // _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ #endif // _WEBSOCKETPP_MOVE_SEMANTICS_ diff --git a/websocketpp/logger/syslog.hpp b/websocketpp/logger/syslog.hpp index 513abee4a..6a27bfe5e 100644 --- a/websocketpp/logger/syslog.hpp +++ b/websocketpp/logger/syslog.hpp @@ -51,7 +51,7 @@ class syslog : public basic { /** * @param hint A channel type specific hint for how to construct the logger */ - syslog(channel_type_hint::value hint = + syslog(channel_type_hint::value hint = channel_type_hint::access) : basic(hint), m_channel_type_hint(hint) {} @@ -60,7 +60,7 @@ class syslog : public basic { * @param channels A set of channels to statically enable * @param hint A channel type specific hint for how to construct the logger */ - syslog(level channels, channel_type_hint::value hint = + syslog(level channels, channel_type_hint::value hint = channel_type_hint::access) : basic(channels, hint), m_channel_type_hint(hint) {} diff --git a/websocketpp/roles/server_endpoint.hpp b/websocketpp/roles/server_endpoint.hpp index 9cc652f75..fa91d57f5 100644 --- a/websocketpp/roles/server_endpoint.hpp +++ b/websocketpp/roles/server_endpoint.hpp @@ -72,23 +72,23 @@ class server : public endpoint,config> { } /// Destructor - ~server() {} + ~server() {} #ifdef _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ // no copy constructor because endpoints are not copyable - server(server &) = delete; + server(server &) = delete; // no copy assignment operator because endpoints are not copyable - server & operator=(server const &) = delete; + server & operator=(server const &) = delete; #endif // _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ #ifdef _WEBSOCKETPP_MOVE_SEMANTICS_ /// Move constructor - server(server && o) : endpoint,config>(std::move(o)) {} + server(server && o) : endpoint,config>(std::move(o)) {} #ifdef _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ // no move assignment operator because of const member variables - server & operator=(server &&) = delete; + server & operator=(server &&) = delete; #endif // _WEBSOCKETPP_DEFAULT_DELETE_FUNCTIONS_ #endif // _WEBSOCKETPP_MOVE_SEMANTICS_