mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 17:10:55 +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>
|
AVIOContext, AV_Deleter<AVIOContext, int, ufile_close>
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
|
UFileHolder() = default;
|
||||||
|
UFileHolder( UFileHolder&& ) = default;
|
||||||
|
|
||||||
// Close explicitly, not ignoring return values.
|
// Close explicitly, not ignoring return values.
|
||||||
int close()
|
int close()
|
||||||
{
|
{
|
||||||
|
@ -130,6 +130,9 @@ inline R SFCall(F fun, Args&&... args)
|
|||||||
struct SFFileCloser { int operator () (SNDFILE*) const; };
|
struct SFFileCloser { int operator () (SNDFILE*) const; };
|
||||||
struct SFFile : public std::unique_ptr<SNDFILE, SFFileCloser>
|
struct SFFile : public std::unique_ptr<SNDFILE, SFFileCloser>
|
||||||
{
|
{
|
||||||
|
SFFile() = default;
|
||||||
|
SFFile( SFFile&& ) = default;
|
||||||
|
|
||||||
// Close explicitly, not ignoring return values.
|
// Close explicitly, not ignoring return values.
|
||||||
int close()
|
int close()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user