transport code style

This commit is contained in:
Peter Thorson
2013-06-23 16:26:37 -05:00
parent 4f8b2bdc98
commit 573dedcb9d
3 changed files with 5 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ inline lib::error_code make_error_code(error::value e) {
_WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_
template<> struct is_error_code_enum<websocketpp::transport::asio::error::value>
{
static const bool value = true;
static bool const value = true;
};
_WEBSOCKETPP_ERROR_CODE_ENUM_NS_END_
#endif // WEBSOCKETPP_TRANSPORT_ASIO_HPP

View File

@@ -186,7 +186,7 @@ inline lib::error_code make_error_code(error::value e) {
_WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_
template<> struct is_error_code_enum<websocketpp::transport::error::value>
{
static const bool value = true;
static bool const value = true;
};
_WEBSOCKETPP_ERROR_CODE_ENUM_NS_END_

View File

@@ -62,7 +62,7 @@ class category : public lib::error_category {
public:
category() {}
const char *name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_ {
char const * name() const _WEBSOCKETPP_NOEXCEPT_TOKEN_ {
return "websocketpp.transport.iostream";
}
@@ -84,7 +84,7 @@ class category : public lib::error_category {
}
};
inline const lib::error_category& get_category() {
inline lib::error_category const & get_category() {
static category instance;
return instance;
}
@@ -100,7 +100,7 @@ inline lib::error_code make_error_code(error::value e) {
_WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_
template<> struct is_error_code_enum<websocketpp::transport::iostream::error::value>
{
static const bool value = true;
static bool const value = true;
};
_WEBSOCKETPP_ERROR_CODE_ENUM_NS_END_