diff options
author | Lioncash <mathew1800@gmail.com> | 2018-04-30 00:37:15 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-04-30 00:52:33 +0200 |
commit | 3abba08080c88c49359e91ab2688c23fa066110a (patch) | |
tree | c354d58817e230cc2ba1306e449628ef8dafeb3d /src/common/string_util.h | |
parent | Merge pull request #421 from Subv/sh_pred3 (diff) | |
download | yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.gz yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.bz2 yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.lz yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.xz yuzu-3abba08080c88c49359e91ab2688c23fa066110a.tar.zst yuzu-3abba08080c88c49359e91ab2688c23fa066110a.zip |
Diffstat (limited to 'src/common/string_util.h')
-rw-r--r-- | src/common/string_util.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h index ec0c31a24..65e4ea5d3 100644 --- a/src/common/string_util.h +++ b/src/common/string_util.h @@ -4,7 +4,6 @@ #pragma once -#include <cstdarg> #include <cstddef> #include <iomanip> #include <sstream> @@ -20,19 +19,6 @@ std::string ToLower(std::string str); /// Make a string uppercase std::string ToUpper(std::string str); -std::string StringFromFormat(const char* format, ...); -// Cheap! -bool CharArrayFromFormatV(char* out, int outsize, const char* format, va_list args); - -template <size_t Count> -inline void CharArrayFromFormat(char (&out)[Count], const char* format, ...) { - va_list args; - va_start(args, format); - CharArrayFromFormatV(out, Count, format, args); - va_end(args); -} - -// Good std::string ArrayToString(const u8* data, size_t size, int line_len = 20, bool spaces = true); std::string StripSpaces(const std::string& s); |