From 3eeaec56086b5600dc9cde13550271dd374796f1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 17 Feb 2014 15:29:06 -0500 Subject: [PATCH] use boost::uuids method to get a string from a boost UUID --- libs/pbd/uuid.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/pbd/uuid.cc b/libs/pbd/uuid.cc index 8b55ab3381..c74de2536c 100644 --- a/libs/pbd/uuid.cc +++ b/libs/pbd/uuid.cc @@ -18,6 +18,7 @@ */ +#include #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); }