Fix build error resulting from assigning boost::uuids::random_generator (#41)

Using a static generator to generate uuids

This time explicitly writing the type.
This commit is contained in:
argent0 2018-07-19 15:19:38 -03:00 committed by Daniel Wolf
parent 5a6630f4b2
commit e02de085bb
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ path getBinDirectory() {
path getTempFilePath() {
path tempDirectory = boost::filesystem::temp_directory_path();
static auto generateUuid = boost::uuids::random_generator();
static boost::uuids::random_generator generateUuid;
string fileName = to_string(generateUuid());
return tempDirectory / fileName;
}