From a4cb77f9f3e3b37e5f9a87cee53392c8114a1b37 Mon Sep 17 00:00:00 2001 From: Jeffrey Ryan Date: Sun, 22 May 2022 23:41:41 -0500 Subject: epee: update 'http_server_handlers_map2.h' macros to use fully qualified names quick patch which fixes the issue where if you use some macros from `http_server_handlers_map2.h` you have to be in the `epee` namespace or it doesn't compile. Now can remove `using namespace epee;` from header file `core_rpc_server.h`, which caused a couple of name qualifying mistakes --- src/rpc/core_rpc_server.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/rpc') diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h index 0274f4db8..b87412ca6 100644 --- a/src/rpc/core_rpc_server.h +++ b/src/rpc/core_rpc_server.h @@ -47,10 +47,6 @@ #undef MONERO_DEFAULT_LOG_CATEGORY #define MONERO_DEFAULT_LOG_CATEGORY "daemon.rpc" -// yes, epee doesn't properly use its full namespace when calling its -// functions from macros. *sigh* -using namespace epee; - namespace cryptonote { /************************************************************************/ -- cgit v1.2.3