1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Define sampleCount as a class, not a type alias...

... Define lots of operators for disambiguation, but they will go away after
all conversions from sampleCount to built-in numerical types are forced
to be explicit.
This commit is contained in:
Paul Licameli
2016-08-20 21:57:55 -04:00
parent fbfee42a00
commit 26b5e77050
7 changed files with 253 additions and 17 deletions

View File

@@ -143,7 +143,7 @@ void FindDependencies(AudacityProject *project,
outAliasedFiles.back() =
AliasedFile {
wxFileNameWrapper { fileName },
blockBytes, fileName.FileExists()
wxLongLong(blockBytes), fileName.FileExists()
};
aliasedFileHash[fileNameStr] = &outAliasedFiles.back();
}