diff options
author | 2016-03-01 18:57:06 +1100 | |
---|---|---|
committer | 2016-03-01 18:57:06 +1100 | |
commit | 9224c862b2c4c42b375fd58b7d99077439cbe635 (patch) | |
tree | 41e14e6fd25a9d4bf784dc5b70fc999d17aa70ba /src/lib/util/corestr.cpp | |
parent | 529f4dd3418132b8faaa598e31df166abb536270 (diff) |
Move more things to type-safe printf
Diffstat (limited to 'src/lib/util/corestr.cpp')
-rw-r--r-- | src/lib/util/corestr.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/util/corestr.cpp b/src/lib/util/corestr.cpp index 3c65bcb3db6..2f39bc06ad9 100644 --- a/src/lib/util/corestr.cpp +++ b/src/lib/util/corestr.cpp @@ -198,16 +198,6 @@ char *core_i64_format(UINT64 value, UINT8 mindigits, bool is_octal) #include <algorithm> -int strvprintf(std::string &str, const char *format, va_list args) -{ - char tempbuf[4096]; - int result = vsprintf(tempbuf, format, args); - - // set the result - str.assign(tempbuf); - return result; -} - int strcatvprintf(std::string &str, const char *format, va_list args) { char tempbuf[4096]; |