/* * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include #include #include #include #include namespace Swift { IDGenerator::IDGenerator() { } std::string IDGenerator::generateID() { static boost::uuids::random_generator generator; return boost::lexical_cast(generator()); } }