Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epee: http_server_handlers_map2 macros to use fully qualified names #8348

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

jeffro256
Copy link
Contributor

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 down the line.

@jeffro256
Copy link
Contributor Author

Windows CI build error is unrelated and fixed by this PR: #8349

…ied 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
@jeffro256
Copy link
Contributor Author

rebased against master

Copy link
Contributor

@mj-xmr mj-xmr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Removing "using" from headers is a very good practice.

@luigi1111 luigi1111 merged commit e553884 into monero-project:master Sep 9, 2022
@jeffro256 jeffro256 deleted the epee_macro_namespace branch October 31, 2023 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants