Use static constexpr instead of anonymous enums#2427
Conversation
* ACE/apps/JAWS/server/HTTP_Server.cpp:
WalkthroughThe update modifies the Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
ACE/apps/JAWS/server/HTTP_Server.cpp (1)
20-24:statickeyword is superfluous on in-classconstexprvariablesSince C++17 an in-class
constexprvariable is implicitlyinline static, so the leadingstaticadds no functionality and can be dropped for brevity.- static constexpr int JAWS_POOL = 0; + constexpr int JAWS_POOL = 0;(Applies to the other three constants as well.)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
ACE/apps/JAWS/server/HTTP_Server.cpp(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (17)
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: ubuntu-24.04 g++-13
- GitHub Check: macos-14-C++
- GitHub Check: macos-13-C++
- GitHub Check: VS2022Debug64Cxx20
- GitHub Check: VS2022Release64
- GitHub Check: VS2022WChar
- GitHub Check: VS2022Debug64Cxx17
- GitHub Check: VS2022Debug64
- GitHub Check: VS2022WChar
- GitHub Check: VS2022Release32
- GitHub Check: VS2022Debug32
- GitHub Check: windows-2022 vs2022
- GitHub Check: ubuntu-24.04 g++
- GitHub Check: MINGW64-gcc
- GitHub Check: ubuntu-22.04 g++-12
- GitHub Check: alpine-3.18
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Summary by CodeRabbit