diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-25 00:01:00 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-25 00:01:00 +0900 |
| commit | b640b830a20a09cd5677616918850b39953f0bcd (patch) | |
| tree | 323b1dd553da99d2d27762eece32dadcbe3e543f /src/ServerStat.h | |
| parent | a8c079464079789132221f093d27706ab973a86a (diff) | |
Made STATUS_STRING const char*[]
Diffstat (limited to 'src/ServerStat.h')
| -rw-r--r-- | src/ServerStat.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ServerStat.h b/src/ServerStat.h index 357af0eb..03eedd52 100644 --- a/src/ServerStat.h +++ b/src/ServerStat.h @@ -52,10 +52,9 @@ class ServerStat { public: enum STATUS { OK = 0, - A2_ERROR + A2_ERROR, + MAX_STATUS }; - - static const std::string STATUS_STRING[]; ServerStat(const std::string& hostname, const std::string& protocol); |
