From 97e36233fbb87c46372483eb9e0b8f7a65670792 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 31 Aug 2016 09:07:33 +0100 Subject: Remove the to_string(unsigned) (it conflicts with to_string(size_t) on x86) Just cast to int when we pass an unsigned. --- src/string.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/string.cc') 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; -- cgit v1.2.3