Skip to content

Commit 675c2f8

Browse files
authored
Merge pull request #2428 from jwillemsen/jwi-jawsenum
Use namespace instead of class
2 parents ffa2efd + aa04330 commit 675c2f8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

ACE/apps/JAWS/server/HTTP_Server.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,14 @@
1313
#include "HTTP_Server.h"
1414
#include <memory>
1515

16-
// class is overkill
17-
class JAWS
16+
namespace JAWS
1817
{
19-
public:
20-
class JAWS
21-
{
22-
public:
2318
static constexpr int JAWS_POOL = 0;
2419
static constexpr int JAWS_PER_REQUEST = 1;
2520

2621
static constexpr int JAWS_SYNCH = 0;
2722
static constexpr int JAWS_ASYNCH = 2;
28-
};
29-
};
23+
}
3024

3125
void
3226
HTTP_Server::parse_args (int argc, ACE_TCHAR *argv[])

0 commit comments

Comments
 (0)