Merge pull request #183 from eandre/experimental

Added missing 'inline' directives
This commit is contained in:
Peter Thorson
2013-02-01 15:43:45 -08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -79,12 +79,12 @@ public:
}
};
const lib::error_category& get_category() {
inline const lib::error_category& get_category() {
static category instance;
return instance;
}
lib::error_code make_error_code(error::value e) {
inline lib::error_code make_error_code(error::value e) {
return lib::error_code(static_cast<int>(e), get_category());
}

View File

@@ -105,12 +105,12 @@ public:
}
};
const lib::error_category& get_socket_category() {
inline const lib::error_category& get_socket_category() {
static socket_category instance;
return instance;
}
lib::error_code make_error(error::value e) {
inline lib::error_code make_error(error::value e) {
return lib::error_code(static_cast<int>(e), get_socket_category());
}