summaryrefslogtreecommitdiff
path: root/src/string.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-08-31 09:07:33 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-08-31 09:07:33 +0100
commit97e36233fbb87c46372483eb9e0b8f7a65670792 (patch)
tree43b5e4cee18988a2bd084976d9bfd2bac327c9ae /src/string.cc
parent80298a95a064baac0d7fe68a2857fb41ac1a0a6e (diff)
Remove the to_string(unsigned) (it conflicts with to_string(size_t) on x86)
Just cast to int when we pass an unsigned.
Diffstat (limited to 'src/string.cc')
-rw-r--r--src/string.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/string.cc b/src/string.cc
index 69c8f946..edfd4cf6 100644
--- a/src/string.cc
+++ b/src/string.cc
@@ -307,13 +307,6 @@ InplaceString<15> to_string(int val)
return res;
}
-InplaceString<15> to_string(unsigned val)
-{
- InplaceString<15> res;
- res.m_length = sprintf(res.m_data, "%u", val);
- return res;
-}
-
InplaceString<23> to_string(long int val)
{
InplaceString<23> res;