Skip to content

Commit e5ed312

Browse files
RobertLauferElektrobitcarneywebMichael Carney
authored
Removed unnecessary android only workaround. (CppMicroServices#1096) (CppMicroServices#1168)
Co-authored-by: carneyweb <mike@carneyweb.com> Co-authored-by: Michael Carney <carney@macmini.mynetworksettings.com>
1 parent bc4eb1c commit e5ed312

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • util/include/cppmicroservices/util

util/include/cppmicroservices/util/String.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,7 @@ namespace cppmicroservices
4949
std::string
5050
ToString(T val)
5151
{
52-
#if defined(__ANDROID__)
53-
std::ostringstream os;
54-
os << val;
55-
return os.str();
56-
#else
5752
return std::to_string(val);
58-
#endif
5953
}
6054

6155
//-------------------------------------------------------------------

0 commit comments

Comments
 (0)