mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Added missing 'inline' directives
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user