aboutsummaryrefslogtreecommitdiff
path: root/src/common/string_util.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-17 13:45:50 -0400
committerLioncash <mathew1800@gmail.com>2014-08-17 13:45:55 -0400
commit90e994471a385d2b965e3843e1f693ccba6fb699 (patch)
treeb5835e0b235225f8478f26814205337d26a5d91a /src/common/string_util.h
parentd1c2b76ad1687c4ccf5673d593de3b7f8710a9c0 (diff)
Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
Diffstat (limited to 'src/common/string_util.h')
-rw-r--r--src/common/string_util.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h
index b3c99a807c..ba4cd363e6 100644
--- a/src/common/string_util.h
+++ b/src/common/string_util.h
@@ -2,15 +2,13 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#ifndef _STRINGUTIL_H_
-#define _STRINGUTIL_H_
+#pragma once
-#include <stdarg.h>
-
-#include <vector>
+#include <cstdarg>
+#include <iomanip>
#include <string>
#include <sstream>
-#include <iomanip>
+#include <vector>
#include "common/common.h"
@@ -113,5 +111,3 @@ inline std::string UTF8ToTStr(const std::string& str)
#endif
#endif
-
-#endif // _STRINGUTIL_H_