From 372e143e5c44ec2d6d97d518294cc98be42513c4 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Sun, 13 Jul 2025 18:27:13 +0200 Subject: [PATCH] Use namespace instead of class * ACE/apps/JAWS/server/HTTP_Server.cpp: --- ACE/apps/JAWS/server/HTTP_Server.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ACE/apps/JAWS/server/HTTP_Server.cpp b/ACE/apps/JAWS/server/HTTP_Server.cpp index bb1b2aa162666..f187c24ea92c3 100644 --- a/ACE/apps/JAWS/server/HTTP_Server.cpp +++ b/ACE/apps/JAWS/server/HTTP_Server.cpp @@ -13,16 +13,14 @@ #include "HTTP_Server.h" #include -// class is overkill -class JAWS +namespace JAWS { -public: static constexpr size_t JAWS_POOL = 0; static constexpr size_t JAWS_PER_REQUEST = 1; static constexpr size_t JAWS_SYNCH = 0; static constexpr size_t JAWS_ASYNCH = 2; -}; +} void HTTP_Server::parse_args (int argc, ACE_TCHAR *argv[])