Simonhancrew opened a new pull request, #2422: URL: https://github.com/apache/brpc/pull/2422
### What problem does this PR solve? Issue Number: Problem Summary: 1. comile error on ubuntu18.04, `BRPC/src/brpc/redis_command.cpp:411:29: error: ‘numeric_limits’ is not a member of ‘std’` 2. CTX_WIDTH should in anonymous namespace, only used in this cpp file. ### What is changed and the side effects? Changed: 1. compile on ubuntu18.04, redis_commands.cpp use numeric_limits<>, while missing <limits> header, cause compile error 2. use anonymous namespace for hardcode var, dont emit this to brpc namespace Side effects: + no side effect -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
