diff options
| author | mathieui <mathieui@mathieui.net> | 2016-01-21 20:46:25 +0100 |
|---|---|---|
| committer | mathieui <mathieui@mathieui.net> | 2016-01-21 20:46:25 +0100 |
| commit | 78aa398e7c09adc4fb9318a4c497e8fd1bcd58ba (patch) | |
| tree | 46860018019feb7aa24b19b18e7a743fd1bb8c7a /Source/Core/Common/StringUtil.cpp | |
| parent | 7c3e4b34f3407b95ac1746fe6f4567c744478c60 (diff) | |
Common: asterisks go against the type name
not the variable name
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/StringUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index 213dba2b08..afc63ca2f4 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -42,7 +42,7 @@ bool AsciiToHex(const std::string& _szValue, u32& result) // Set errno to a good state. errno = 0; - char *endptr = nullptr; + char* endptr = nullptr; const u32 value = strtoul(_szValue.c_str(), &endptr, 16); if (!endptr || *endptr) @@ -120,7 +120,7 @@ std::string StringFromFormat(const char* format, ...) std::string StringFromFormatV(const char* format, va_list args) { - char *buf = nullptr; + char* buf = nullptr; #ifdef _WIN32 int required = _vscprintf(format, args); buf = new char[required + 1]; @@ -190,7 +190,7 @@ std::string StripQuotes(const std::string& s) bool TryParse(const std::string &str, u32 *const output) { - char *endptr = nullptr; + char* endptr = nullptr; // Reset errno to a value other than ERANGE errno = 0; |
