diff options
| author | 2014-08-17 13:45:50 -0400 | |
|---|---|---|
| committer | 2014-08-17 13:45:55 -0400 | |
| commit | 90e994471a385d2b965e3843e1f693ccba6fb699 (patch) | |
| tree | b5835e0b235225f8478f26814205337d26a5d91a /src/common/string_util.h | |
| parent | Merge pull request #47 from archshift/stdstring (diff) | |
| download | yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.gz yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.tar.xz yuzu-90e994471a385d2b965e3843e1f693ccba6fb699.zip | |
Common: Move header guards over to pragma once
Also replaced C headers with the C++ equivalent ones
Diffstat (limited to '')
| -rw-r--r-- | src/common/string_util.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h index b3c99a807..ba4cd363e 100644 --- a/src/common/string_util.h +++ b/src/common/string_util.h | |||
| @@ -2,15 +2,13 @@ | |||
| 2 | // Licensed under GPLv2 | 2 | // Licensed under GPLv2 |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #ifndef _STRINGUTIL_H_ | 5 | #pragma once |
| 6 | #define _STRINGUTIL_H_ | ||
| 7 | 6 | ||
| 8 | #include <stdarg.h> | 7 | #include <cstdarg> |
| 9 | 8 | #include <iomanip> | |
| 10 | #include <vector> | ||
| 11 | #include <string> | 9 | #include <string> |
| 12 | #include <sstream> | 10 | #include <sstream> |
| 13 | #include <iomanip> | 11 | #include <vector> |
| 14 | 12 | ||
| 15 | #include "common/common.h" | 13 | #include "common/common.h" |
| 16 | 14 | ||
| @@ -113,5 +111,3 @@ inline std::string UTF8ToTStr(const std::string& str) | |||
| 113 | #endif | 111 | #endif |
| 114 | 112 | ||
| 115 | #endif | 113 | #endif |
| 116 | |||
| 117 | #endif // _STRINGUTIL_H_ | ||