aboutsummaryrefslogtreecommitdiff
path: root/src/util/strencodings.cpp
diff options
context:
space:
mode:
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-08-17 17:34:06 +0200
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>2020-08-17 17:56:59 +0200
commit71e0f07e9c5f0aef532b85c04807dcbedd04e0af (patch)
tree5eb6d8d4aebe5fa0571807a4e32d5b4dd09c14a3 /src/util/strencodings.cpp
parent1bc8e8eae2dc4b47ef67afc6880ea48b8e84a086 (diff)
util: remove unused c-string variant of atoi64()
Diffstat (limited to 'src/util/strencodings.cpp')
-rw-r--r--src/util/strencodings.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/util/strencodings.cpp b/src/util/strencodings.cpp
index d10f92ffe6..4d51b9045e 100644
--- a/src/util/strencodings.cpp
+++ b/src/util/strencodings.cpp
@@ -407,15 +407,6 @@ std::string FormatParagraph(const std::string& in, size_t width, size_t indent)
return out.str();
}
-int64_t atoi64(const char* psz)
-{
-#ifdef _MSC_VER
- return _atoi64(psz);
-#else
- return strtoll(psz, nullptr, 10);
-#endif
-}
-
int64_t atoi64(const std::string& str)
{
#ifdef _MSC_VER