Use boost::lexical_cast instead of stringstreams.

This commit is contained in:
Gunnar Beutner 2013-01-31 10:10:51 +01:00
parent b9d02b0482
commit 24e2d1d3f2
1 changed files with 1 additions and 5 deletions

View File

@ -435,10 +435,6 @@ Utility::LoadIcingaLibrary(const String& library, bool module)
String Utility::NewUUID(void)
{
boost::uuids::uuid uuid = boost::uuids::random_generator()();
stringstream us;
us << uuid;
return us.str();
return boost::lexical_cast<String>(uuid);
}