mirror of
https://github.com/DanielSWolf/rhubarb-lip-sync.git
synced 2026-11-21 12:25:08 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user