From 3e283ea9f17aa779832db065b2ecc4b19cf03e83 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 21 Jan 2016 21:16:51 +0100 Subject: More asterisks --- Source/Core/Common/StringUtil.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/Common/StringUtil.h') 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 -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 -- cgit v1.2.3