diff options
author | eidheim <eidheim@gmail.com> | 2022-05-31 16:13:11 +0300 |
---|---|---|
committer | eidheim <eidheim@gmail.com> | 2022-05-31 16:13:11 +0300 |
commit | 293a407f39fe50e285c8599b3d98a7da25371d20 (patch) | |
tree | af85a16dd20d5aea3b9ee417d48687e7c1d0e1fa /server_ws.hpp | |
parent | 571687c43c838f5f633f068b987e57a871597251 (diff) |
Renamed DEPRECATED to SW_DEPRECATED to avoid name conflicts
Diffstat (limited to 'server_ws.hpp')
-rw-r--r-- | server_ws.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server_ws.hpp b/server_ws.hpp index 991b29d..339d65b 100644 --- a/server_ws.hpp +++ b/server_ws.hpp @@ -275,7 +275,7 @@ namespace SimpleWeb { } /// Deprecated, please use remote_endpoint().address().to_string() instead. - DEPRECATED std::string remote_endpoint_address() const noexcept { + SW_DEPRECATED std::string remote_endpoint_address() const noexcept { try { return endpoint.address().to_string(); } @@ -285,7 +285,7 @@ namespace SimpleWeb { } /// Deprecated, please use remote_endpoint().port() instead. - DEPRECATED unsigned short remote_endpoint_port() const noexcept { + SW_DEPRECATED unsigned short remote_endpoint_port() const noexcept { try { return endpoint.port(); } |