diff options
author | Lioncash <mathew1800@gmail.com> | 2014-08-17 13:45:50 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2014-08-17 13:45:55 -0400 |
commit | 90e994471a385d2b965e3843e1f693ccba6fb699 (patch) | |
tree | b5835e0b235225f8478f26814205337d26a5d91a /src/common/log_manager.h | |
parent | d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0 (diff) |
Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
Diffstat (limited to 'src/common/log_manager.h')
-rw-r--r-- | src/common/log_manager.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/common/log_manager.h b/src/common/log_manager.h index 6d3d7c7ff..81d808825 100644 --- a/src/common/log_manager.h +++ b/src/common/log_manager.h @@ -2,16 +2,15 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -#ifndef _LOGMANAGER_H_ -#define _LOGMANAGER_H_ +#pragma once #include "common/log.h" #include "common/string_util.h" #include "common/thread.h" #include "common/file_util.h" +#include <cstring> #include <set> -#include <string.h> #define MAX_MESSAGES 8000 #define MAX_MSGLEN 1024 @@ -165,5 +164,3 @@ public: static void Init(); static void Shutdown(); }; - -#endif // _LOGMANAGER_H_ |