Deprecated Request::remote_endpoint_address() and Request::remote_endpoint_port()
This commit is contained in:
parent
da7eee64a8
commit
a1d8282918
5 changed files with 20 additions and 8 deletions
10
utility.hpp
10
utility.hpp
|
|
@ -12,6 +12,16 @@
|
|||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#ifndef DEPRECATED
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#define DEPRECATED __attribute__((deprecated))
|
||||
#elif defined(_MSC_VER)
|
||||
#define DEPRECATED __declspec(deprecated)
|
||||
#else
|
||||
#define DEPRECATED
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __cplusplus > 201402L || _MSVC_LANG > 201402L
|
||||
#include <string_view>
|
||||
namespace SimpleWeb {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue