mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 01:29:43 +02:00
Fix Windows build
This commit is contained in:
parent
9c1b251313
commit
9e8d36adc2
@ -975,6 +975,9 @@ struct UFileHolder : public std::unique_ptr<
|
||||
AVIOContext, AV_Deleter<AVIOContext, int, ufile_close>
|
||||
>
|
||||
{
|
||||
UFileHolder() = default;
|
||||
UFileHolder( UFileHolder&& ) = default;
|
||||
|
||||
// Close explicitly, not ignoring return values.
|
||||
int close()
|
||||
{
|
||||
|
@ -130,6 +130,9 @@ inline R SFCall(F fun, Args&&... args)
|
||||
struct SFFileCloser { int operator () (SNDFILE*) const; };
|
||||
struct SFFile : public std::unique_ptr<SNDFILE, SFFileCloser>
|
||||
{
|
||||
SFFile() = default;
|
||||
SFFile( SFFile&& ) = default;
|
||||
|
||||
// Close explicitly, not ignoring return values.
|
||||
int close()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user