13
0

use boost::uuids method to get a string from a boost UUID

This commit is contained in:
Paul Davis 2014-02-17 15:29:06 -05:00
parent eb3c14db25
commit 3eeaec5608

View File

@ -18,6 +18,7 @@
*/
#include <boost/uuid/uuid_io.hpp>
#include "pbd/uuid.h"
PBD::UUID&
@ -31,5 +32,5 @@ PBD::UUID::operator= (std::string const & str)
std::string
PBD::UUID::to_s () const
{
return std::string ((const char*) data, size());
return boost::uuids::to_string (*this);
}