summaryrefslogtreecommitdiff
path: root/kms++util/src/strhelpers.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2019-10-02 12:19:10 +0300
committerGitHub <noreply@github.com>2019-10-02 12:19:10 +0300
commit934416e1dfa8222a0a1746a5a0951e2b08d02eae (patch)
treefaec976b3629eaa61335b781d1b0527c66d14c69 /kms++util/src/strhelpers.cpp
parent6140ae4ef4ca98e3dcd9ac4aa5442abcfd44551b (diff)
parent21de1ab0f0ed584ee99b36134f4c44e9fe0fa403 (diff)
Merge pull request #37 from tomba/work
Formatting changes and testmodes.py
Diffstat (limited to 'kms++util/src/strhelpers.cpp')
-rw-r--r--kms++util/src/strhelpers.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/kms++util/src/strhelpers.cpp b/kms++util/src/strhelpers.cpp
index f59bb6d..5eba2a9 100644
--- a/kms++util/src/strhelpers.cpp
+++ b/kms++util/src/strhelpers.cpp
@@ -11,17 +11,3 @@ string to_lower(const string& str)
transform(data.begin(), data.end(), data.begin(), ::tolower);
return data;
}
-
-string sformat(const char *fmt, ...)
-{
- static char s_format_buf[1024];
-
- va_list args;
- va_start(args, fmt);
-
- vsnprintf(s_format_buf, sizeof(s_format_buf), fmt, args);
-
- va_end(args);
-
- return string(s_format_buf);
-}