summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.h
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-01-21 21:16:51 +0100
committermathieui <mathieui@mathieui.net>2016-01-21 21:16:51 +0100
commit3e283ea9f17aa779832db065b2ecc4b19cf03e83 (patch)
treea7e5db6d6550487db024bc9b7b5dd9fa96198aa4 /Source/Core/Common/StringUtil.h
parent78aa398e7c09adc4fb9318a4c497e8fd1bcd58ba (diff)
More asterisks
Diffstat (limited to 'Source/Core/Common/StringUtil.h')
-rw-r--r--Source/Core/Common/StringUtil.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/Common/StringUtil.h b/Source/Core/Common/StringUtil.h
index 2516561a5a..d90aa6d024 100644
--- a/Source/Core/Common/StringUtil.h
+++ b/Source/Core/Common/StringUtil.h
@@ -36,7 +36,7 @@ inline void CharArrayFromFormat(char (& out)[Count], const char* format, ...)
}
// Good
-std::string ArrayToString(const u8 *data, u32 size, int line_len = 20, bool spaces = true);
+std::string ArrayToString(const u8* data, u32 size, int line_len = 20, bool spaces = true);
std::string StripSpaces(const std::string &s);
std::string StripQuotes(const std::string &s);
@@ -59,11 +59,11 @@ std::string ThousandSeparate(I value, int spaces = 0)
std::string StringFromInt(int value);
std::string StringFromBool(bool value);
-bool TryParse(const std::string &str, bool *output);
-bool TryParse(const std::string &str, u32 *output);
+bool TryParse(const std::string &str, bool* output);
+bool TryParse(const std::string &str, u32* output);
template <typename N>
-static bool TryParse(const std::string &str, N *const output)
+static bool TryParse(const std::string &str, N* const output)
{
std::istringstream iss(str);
// is this right? not doing this breaks reading floats on locales that use different decimal separators