From 2dce5e226d0780778d3a413d3ed9fddc9722f63c Mon Sep 17 00:00:00 2001 From: liubotao <316945435@qq.com> Date: Sat, 4 Jun 2016 00:54:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=9E=9A=E4=B8=BE=E6=88=90?= =?UTF-8?q?=E5=91=98=E5=80=BC=E4=B8=BA0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加代码可读性和结构 --- src/util/logger.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/logger.h b/src/util/logger.h index d728b18..d489e1d 100644 --- a/src/util/logger.h +++ b/src/util/logger.h @@ -26,9 +26,9 @@ class Logger { public: enum MsgType { - Message = 0, - Warning = 1, - Error = 2 + Message, + Warning, + Error }; Logger(void);