From 90e994471a385d2b965e3843e1f693ccba6fb699 Mon Sep 17 00:00:00 2001
From: Lioncash <mathew1800@gmail.com>
Date: Sun, 17 Aug 2014 13:45:50 -0400
Subject: Common: Move header guards over to pragma once

Also replaced C headers with the C++ equivalent ones
---
 src/common/string_util.h | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

(limited to 'src/common/string_util.h')

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_
-- 
cgit v1.2.3-70-g09d2