Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
220d2bf0
Commit
220d2bf0
authored
May 30, 2021
by
Rosen Penev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clang-tidy: add explicit deleted constructors
Found with cppcoreguidelines-special-member-functions Signed-off-by:
Rosen Penev
<
rosenp@gmail.com
>
parent
9ef1cf15
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
98 additions
and
0 deletions
+98
-0
Bzip2ArchivePlugin.cxx
src/archive/plugins/Bzip2ArchivePlugin.cxx
+3
-0
ZzipArchivePlugin.cxx
src/archive/plugins/ZzipArchivePlugin.cxx
+3
-0
ProxyDatabasePlugin.cxx
src/db/plugins/ProxyDatabasePlugin.cxx
+3
-0
MadDecoderPlugin.cxx
src/decoder/plugins/MadDecoderPlugin.cxx
+3
-0
OpusDecoderPlugin.cxx
src/decoder/plugins/OpusDecoderPlugin.cxx
+3
-0
VorbisDecoderPlugin.cxx
src/decoder/plugins/VorbisDecoderPlugin.cxx
+3
-0
FlacEncoderPlugin.cxx
src/encoder/plugins/FlacEncoderPlugin.cxx
+3
-0
LameEncoderPlugin.cxx
src/encoder/plugins/LameEncoderPlugin.cxx
+3
-0
OpusEncoderPlugin.cxx
src/encoder/plugins/OpusEncoderPlugin.cxx
+3
-0
TwolameEncoderPlugin.cxx
src/encoder/plugins/TwolameEncoderPlugin.cxx
+3
-0
VorbisEncoderPlugin.cxx
src/encoder/plugins/VorbisEncoderPlugin.cxx
+3
-0
Observer.cxx
src/filter/Observer.cxx
+6
-0
NormalizeFilterPlugin.cxx
src/filter/plugins/NormalizeFilterPlugin.cxx
+4
-0
InputStream.hxx
src/input/InputStream.hxx
+3
-0
AlsaInputPlugin.cxx
src/input/plugins/AlsaInputPlugin.cxx
+3
-0
CdioParanoiaInputPlugin.cxx
src/input/plugins/CdioParanoiaInputPlugin.cxx
+3
-0
MmsInputPlugin.cxx
src/input/plugins/MmsInputPlugin.cxx
+3
-0
NfsInputPlugin.cxx
src/input/plugins/NfsInputPlugin.cxx
+3
-0
QobuzInputPlugin.cxx
src/input/plugins/QobuzInputPlugin.cxx
+3
-0
TidalInputPlugin.cxx
src/input/plugins/TidalInputPlugin.cxx
+3
-0
Global.cxx
src/lib/curl/Global.cxx
+3
-0
AlsaMixerPlugin.cxx
src/mixer/plugins/AlsaMixerPlugin.cxx
+6
-0
PulseMixerPlugin.cxx
src/mixer/plugins/PulseMixerPlugin.cxx
+3
-0
UpnpNeighborPlugin.cxx
src/neighbor/plugins/UpnpNeighborPlugin.cxx
+1
-0
AlsaOutputPlugin.cxx
src/output/plugins/AlsaOutputPlugin.cxx
+3
-0
AoOutputPlugin.cxx
src/output/plugins/AoOutputPlugin.cxx
+6
-0
FifoOutputPlugin.cxx
src/output/plugins/FifoOutputPlugin.cxx
+3
-0
ShoutOutputPlugin.cxx
src/output/plugins/ShoutOutputPlugin.cxx
+3
-0
NfsStorage.cxx
src/storage/plugins/NfsStorage.cxx
+3
-0
UdisksStorage.cxx
src/storage/plugins/UdisksStorage.cxx
+3
-0
No files found.
src/archive/plugins/Bzip2ArchivePlugin.cxx
View file @
220d2bf0
...
@@ -71,6 +71,9 @@ public:
...
@@ -71,6 +71,9 @@ public:
Mutex
&
mutex
);
Mutex
&
mutex
);
~
Bzip2InputStream
()
noexcept
override
;
~
Bzip2InputStream
()
noexcept
override
;
Bzip2InputStream
(
const
Bzip2InputStream
&
)
=
delete
;
Bzip2InputStream
&
operator
=
(
const
Bzip2InputStream
&
)
=
delete
;
/* virtual methods from InputStream */
/* virtual methods from InputStream */
[[
nodiscard
]]
bool
IsEOF
()
const
noexcept
override
;
[[
nodiscard
]]
bool
IsEOF
()
const
noexcept
override
;
size_t
Read
(
std
::
unique_lock
<
Mutex
>
&
lock
,
size_t
Read
(
std
::
unique_lock
<
Mutex
>
&
lock
,
...
...
src/archive/plugins/ZzipArchivePlugin.cxx
View file @
220d2bf0
...
@@ -116,6 +116,9 @@ public:
...
@@ -116,6 +116,9 @@ public:
zzip_file_close
(
file
);
zzip_file_close
(
file
);
}
}
ZzipInputStream
(
const
ZzipInputStream
&
)
=
delete
;
ZzipInputStream
&
operator
=
(
const
ZzipInputStream
&
)
=
delete
;
/* virtual methods from InputStream */
/* virtual methods from InputStream */
[[
nodiscard
]]
bool
IsEOF
()
const
noexcept
override
;
[[
nodiscard
]]
bool
IsEOF
()
const
noexcept
override
;
size_t
Read
(
std
::
unique_lock
<
Mutex
>
&
lock
,
size_t
Read
(
std
::
unique_lock
<
Mutex
>
&
lock
,
...
...
src/db/plugins/ProxyDatabasePlugin.cxx
View file @
220d2bf0
...
@@ -83,6 +83,9 @@ public:
...
@@ -83,6 +83,9 @@ public:
~
AllocatedProxySong
()
{
~
AllocatedProxySong
()
{
mpd_song_free
(
song
);
mpd_song_free
(
song
);
}
}
AllocatedProxySong
(
const
AllocatedProxySong
&
)
=
delete
;
AllocatedProxySong
&
operator
=
(
const
AllocatedProxySong
&
)
=
delete
;
};
};
class
ProxyDatabase
final
:
public
Database
{
class
ProxyDatabase
final
:
public
Database
{
...
...
src/decoder/plugins/MadDecoderPlugin.cxx
View file @
220d2bf0
...
@@ -138,6 +138,9 @@ public:
...
@@ -138,6 +138,9 @@ public:
MadDecoder
(
DecoderClient
*
client
,
InputStream
&
input_stream
)
noexcept
;
MadDecoder
(
DecoderClient
*
client
,
InputStream
&
input_stream
)
noexcept
;
~
MadDecoder
()
noexcept
;
~
MadDecoder
()
noexcept
;
MadDecoder
(
const
MadDecoder
&
)
=
delete
;
MadDecoder
&
operator
=
(
const
MadDecoder
&
)
=
delete
;
void
RunDecoder
()
noexcept
;
void
RunDecoder
()
noexcept
;
bool
RunScan
(
TagHandler
&
handler
)
noexcept
;
bool
RunScan
(
TagHandler
&
handler
)
noexcept
;
...
...
src/decoder/plugins/OpusDecoderPlugin.cxx
View file @
220d2bf0
...
@@ -137,6 +137,9 @@ public:
...
@@ -137,6 +137,9 @@ public:
~
MPDOpusDecoder
();
~
MPDOpusDecoder
();
MPDOpusDecoder
(
const
MPDOpusDecoder
&
)
=
delete
;
MPDOpusDecoder
&
operator
=
(
const
MPDOpusDecoder
&
)
=
delete
;
/**
/**
* Has DecoderClient::Ready() been called yet?
* Has DecoderClient::Ready() been called yet?
*/
*/
...
...
src/decoder/plugins/VorbisDecoderPlugin.cxx
View file @
220d2bf0
...
@@ -80,6 +80,9 @@ public:
...
@@ -80,6 +80,9 @@ public:
DeinitVorbis
();
DeinitVorbis
();
}
}
VorbisDecoder
(
const
VorbisDecoder
&
)
=
delete
;
VorbisDecoder
&
operator
=
(
const
VorbisDecoder
&
)
=
delete
;
bool
Seek
(
uint64_t
where_frame
);
bool
Seek
(
uint64_t
where_frame
);
static
AudioFormat
CheckAudioFormat
(
const
vorbis_info
&
vi
)
{
static
AudioFormat
CheckAudioFormat
(
const
vorbis_info
&
vi
)
{
...
...
src/encoder/plugins/FlacEncoderPlugin.cxx
View file @
220d2bf0
...
@@ -54,6 +54,9 @@ public:
...
@@ -54,6 +54,9 @@ public:
FLAC__stream_encoder_delete
(
fse
);
FLAC__stream_encoder_delete
(
fse
);
}
}
FlacEncoder
(
const
FlacEncoder
&
)
=
delete
;
FlacEncoder
&
operator
=
(
const
FlacEncoder
&
)
=
delete
;
/* virtual methods from class Encoder */
/* virtual methods from class Encoder */
void
End
()
override
{
void
End
()
override
{
(
void
)
FLAC__stream_encoder_finish
(
fse
);
(
void
)
FLAC__stream_encoder_finish
(
fse
);
...
...
src/encoder/plugins/LameEncoderPlugin.cxx
View file @
220d2bf0
...
@@ -47,6 +47,9 @@ public:
...
@@ -47,6 +47,9 @@ public:
~
LameEncoder
()
noexcept
override
;
~
LameEncoder
()
noexcept
override
;
LameEncoder
(
const
LameEncoder
&
)
=
delete
;
LameEncoder
&
operator
=
(
const
LameEncoder
&
)
=
delete
;
/* virtual methods from class Encoder */
/* virtual methods from class Encoder */
void
Write
(
const
void
*
data
,
size_t
length
)
override
;
void
Write
(
const
void
*
data
,
size_t
length
)
override
;
size_t
Read
(
void
*
dest
,
size_t
length
)
noexcept
override
;
size_t
Read
(
void
*
dest
,
size_t
length
)
noexcept
override
;
...
...
src/encoder/plugins/OpusEncoderPlugin.cxx
View file @
220d2bf0
...
@@ -56,6 +56,9 @@ public:
...
@@ -56,6 +56,9 @@ public:
OpusEncoder
(
AudioFormat
&
_audio_format
,
::
OpusEncoder
*
_enc
,
bool
_chaining
);
OpusEncoder
(
AudioFormat
&
_audio_format
,
::
OpusEncoder
*
_enc
,
bool
_chaining
);
~
OpusEncoder
()
noexcept
override
;
~
OpusEncoder
()
noexcept
override
;
OpusEncoder
(
const
OpusEncoder
&
)
=
delete
;
OpusEncoder
&
operator
=
(
const
OpusEncoder
&
)
=
delete
;
/* virtual methods from class Encoder */
/* virtual methods from class Encoder */
void
End
()
override
;
void
End
()
override
;
void
Write
(
const
void
*
data
,
size_t
length
)
override
;
void
Write
(
const
void
*
data
,
size_t
length
)
override
;
...
...
src/encoder/plugins/TwolameEncoderPlugin.cxx
View file @
220d2bf0
...
@@ -54,6 +54,9 @@ public:
...
@@ -54,6 +54,9 @@ public:
audio_format
(
_audio_format
),
options
(
_options
)
{}
audio_format
(
_audio_format
),
options
(
_options
)
{}
~
TwolameEncoder
()
noexcept
override
;
~
TwolameEncoder
()
noexcept
override
;
TwolameEncoder
(
const
TwolameEncoder
&
)
=
delete
;
TwolameEncoder
&
operator
=
(
const
TwolameEncoder
&
)
=
delete
;
/* virtual methods from class Encoder */
/* virtual methods from class Encoder */
void
End
()
override
{
void
End
()
override
{
...
...
src/encoder/plugins/VorbisEncoderPlugin.cxx
View file @
220d2bf0
...
@@ -44,6 +44,9 @@ public:
...
@@ -44,6 +44,9 @@ public:
vorbis_info_clear
(
&
vi
);
vorbis_info_clear
(
&
vi
);
}
}
VorbisEncoder
(
const
VorbisEncoder
&
)
=
delete
;
VorbisEncoder
&
operator
=
(
const
VorbisEncoder
&
)
=
delete
;
/* virtual methods from class Encoder */
/* virtual methods from class Encoder */
void
End
()
override
{
void
End
()
override
{
PreTag
();
PreTag
();
...
...
src/filter/Observer.cxx
View file @
220d2bf0
...
@@ -43,6 +43,9 @@ public:
...
@@ -43,6 +43,9 @@ public:
observer
.
proxy
=
nullptr
;
observer
.
proxy
=
nullptr
;
}
}
PreparedProxy
(
const
PreparedProxy
&
)
=
delete
;
PreparedProxy
&
operator
=
(
const
PreparedProxy
&
)
=
delete
;
void
Clear
([[
maybe_unused
]]
Proxy
*
_child
)
noexcept
{
void
Clear
([[
maybe_unused
]]
Proxy
*
_child
)
noexcept
{
assert
(
child
==
_child
);
assert
(
child
==
_child
);
child
=
nullptr
;
child
=
nullptr
;
...
@@ -67,6 +70,9 @@ public:
...
@@ -67,6 +70,9 @@ public:
parent
.
Clear
(
this
);
parent
.
Clear
(
this
);
}
}
Proxy
(
const
Proxy
&
)
=
delete
;
Proxy
&
operator
=
(
const
Proxy
&
)
=
delete
;
Filter
*
Get
()
noexcept
{
Filter
*
Get
()
noexcept
{
return
filter
.
get
();
return
filter
.
get
();
}
}
...
...
src/filter/plugins/NormalizeFilterPlugin.cxx
View file @
220d2bf0
...
@@ -42,6 +42,10 @@ public:
...
@@ -42,6 +42,10 @@ public:
Compressor_delete
(
compressor
);
Compressor_delete
(
compressor
);
}
}
NormalizeFilter
(
const
NormalizeFilter
&
)
=
delete
;
NormalizeFilter
&
operator
=
(
const
NormalizeFilter
&
)
=
delete
;
/* virtual methods from class Filter */
/* virtual methods from class Filter */
ConstBuffer
<
void
>
FilterPCM
(
ConstBuffer
<
void
>
src
)
override
;
ConstBuffer
<
void
>
FilterPCM
(
ConstBuffer
<
void
>
src
)
override
;
};
};
...
...
src/input/InputStream.hxx
View file @
220d2bf0
...
@@ -107,6 +107,9 @@ public:
...
@@ -107,6 +107,9 @@ public:
*/
*/
virtual
~
InputStream
()
noexcept
;
virtual
~
InputStream
()
noexcept
;
InputStream
(
const
InputStream
&
)
=
delete
;
InputStream
&
operator
=
(
const
InputStream
&
)
=
delete
;
/**
/**
* Opens a new input stream. You may not access it until the "ready"
* Opens a new input stream. You may not access it until the "ready"
* flag is set.
* flag is set.
...
...
src/input/plugins/AlsaInputPlugin.cxx
View file @
220d2bf0
...
@@ -99,6 +99,9 @@ public:
...
@@ -99,6 +99,9 @@ public:
snd_pcm_close
(
capture_handle
);
snd_pcm_close
(
capture_handle
);
}
}
AlsaInputStream
(
const
AlsaInputStream
&
)
=
delete
;
AlsaInputStream
&
operator
=
(
const
AlsaInputStream
&
)
=
delete
;
static
InputStreamPtr
Create
(
EventLoop
&
event_loop
,
const
char
*
uri
,
static
InputStreamPtr
Create
(
EventLoop
&
event_loop
,
const
char
*
uri
,
Mutex
&
mutex
);
Mutex
&
mutex
);
...
...
src/input/plugins/CdioParanoiaInputPlugin.cxx
View file @
220d2bf0
...
@@ -88,6 +88,9 @@ class CdioParanoiaInputStream final : public InputStream {
...
@@ -88,6 +88,9 @@ class CdioParanoiaInputStream final : public InputStream {
cdio_destroy
(
cdio
);
cdio_destroy
(
cdio
);
}
}
CdioParanoiaInputStream
(
const
CdioParanoiaInputStream
&
)
=
delete
;
CdioParanoiaInputStream
&
operator
=
(
const
CdioParanoiaInputStream
&
)
=
delete
;
/* virtual methods from InputStream */
/* virtual methods from InputStream */
[[
nodiscard
]]
bool
IsEOF
()
const
noexcept
override
;
[[
nodiscard
]]
bool
IsEOF
()
const
noexcept
override
;
size_t
Read
(
std
::
unique_lock
<
Mutex
>
&
lock
,
size_t
Read
(
std
::
unique_lock
<
Mutex
>
&
lock
,
...
...
src/input/plugins/MmsInputPlugin.cxx
View file @
220d2bf0
...
@@ -41,6 +41,9 @@ public:
...
@@ -41,6 +41,9 @@ public:
Stop
();
Stop
();
}
}
MmsInputStream
(
const
MmsInputStream
&
)
=
delete
;
MmsInputStream
&
operator
=
(
const
MmsInputStream
&
)
=
delete
;
protected
:
protected
:
void
Open
()
override
;
void
Open
()
override
;
size_t
ThreadRead
(
void
*
ptr
,
size_t
size
)
override
;
size_t
ThreadRead
(
void
*
ptr
,
size_t
size
)
override
;
...
...
src/input/plugins/NfsInputPlugin.cxx
View file @
220d2bf0
...
@@ -51,6 +51,9 @@ public:
...
@@ -51,6 +51,9 @@ public:
DeferClose
();
DeferClose
();
}
}
NfsInputStream
(
const
NfsInputStream
&
)
=
delete
;
NfsInputStream
&
operator
=
(
const
NfsInputStream
&
)
=
delete
;
void
Open
()
{
void
Open
()
{
assert
(
!
IsReady
());
assert
(
!
IsReady
());
...
...
src/input/plugins/QobuzInputPlugin.cxx
View file @
220d2bf0
...
@@ -57,6 +57,9 @@ public:
...
@@ -57,6 +57,9 @@ public:
qobuz_client
->
RemoveLoginHandler
(
*
this
);
qobuz_client
->
RemoveLoginHandler
(
*
this
);
}
}
QobuzInputStream
(
const
QobuzInputStream
&
)
=
delete
;
QobuzInputStream
&
operator
=
(
const
QobuzInputStream
&
)
=
delete
;
/* virtual methods from InputStream */
/* virtual methods from InputStream */
void
Check
()
override
{
void
Check
()
override
{
...
...
src/input/plugins/TidalInputPlugin.cxx
View file @
220d2bf0
...
@@ -70,6 +70,9 @@ public:
...
@@ -70,6 +70,9 @@ public:
tidal_session
->
RemoveLoginHandler
(
*
this
);
tidal_session
->
RemoveLoginHandler
(
*
this
);
}
}
TidalInputStream
(
const
TidalInputStream
&
)
=
delete
;
TidalInputStream
&
operator
=
(
const
TidalInputStream
&
)
=
delete
;
/* virtual methods from InputStream */
/* virtual methods from InputStream */
void
Check
()
override
{
void
Check
()
override
{
...
...
src/lib/curl/Global.cxx
View file @
220d2bf0
...
@@ -57,6 +57,9 @@ public:
...
@@ -57,6 +57,9 @@ public:
better solution? */
better solution? */
}
}
CurlSocket
(
const
CurlSocket
&
)
=
delete
;
CurlSocket
&
operator
=
(
const
CurlSocket
&
)
=
delete
;
auto
&
GetEventLoop
()
const
noexcept
{
auto
&
GetEventLoop
()
const
noexcept
{
return
socket_event
.
GetEventLoop
();
return
socket_event
.
GetEventLoop
();
}
}
...
...
src/mixer/plugins/AlsaMixerPlugin.cxx
View file @
220d2bf0
...
@@ -63,6 +63,9 @@ public:
...
@@ -63,6 +63,9 @@ public:
});
});
}
}
AlsaMixerMonitor
(
const
AlsaMixerMonitor
&
)
=
delete
;
AlsaMixerMonitor
&
operator
=
(
const
AlsaMixerMonitor
&
)
=
delete
;
private
:
private
:
Event
::
Duration
PrepareSockets
()
noexcept
override
;
Event
::
Duration
PrepareSockets
()
noexcept
override
;
void
DispatchSockets
()
noexcept
override
;
void
DispatchSockets
()
noexcept
override
;
...
@@ -87,6 +90,9 @@ public:
...
@@ -87,6 +90,9 @@ public:
~
AlsaMixer
()
override
;
~
AlsaMixer
()
override
;
AlsaMixer
(
const
AlsaMixer
&
)
=
delete
;
AlsaMixer
&
operator
=
(
const
AlsaMixer
&
)
=
delete
;
void
Configure
(
const
ConfigBlock
&
block
);
void
Configure
(
const
ConfigBlock
&
block
);
void
Setup
();
void
Setup
();
...
...
src/mixer/plugins/PulseMixerPlugin.cxx
View file @
220d2bf0
...
@@ -55,6 +55,9 @@ public:
...
@@ -55,6 +55,9 @@ public:
~
PulseMixer
()
override
;
~
PulseMixer
()
override
;
PulseMixer
(
const
PulseMixer
&
)
=
delete
;
PulseMixer
&
operator
=
(
const
PulseMixer
&
)
=
delete
;
void
Offline
();
void
Offline
();
void
VolumeCallback
(
const
pa_sink_input_info
*
i
,
int
eol
);
void
VolumeCallback
(
const
pa_sink_input_info
*
i
,
int
eol
);
void
Update
(
pa_context
*
context
,
pa_stream
*
stream
);
void
Update
(
pa_context
*
context
,
pa_stream
*
stream
);
...
...
src/neighbor/plugins/UpnpNeighborPlugin.cxx
View file @
220d2bf0
...
@@ -38,6 +38,7 @@ class UpnpNeighborExplorer final
...
@@ -38,6 +38,7 @@ class UpnpNeighborExplorer final
:
name
(
std
::
move
(
_name
)),
comment
(
std
::
move
(
_comment
)),
:
name
(
std
::
move
(
_name
)),
comment
(
std
::
move
(
_comment
)),
alive
(
true
)
{}
alive
(
true
)
{}
Server
(
const
Server
&
)
=
delete
;
Server
(
const
Server
&
)
=
delete
;
Server
&
operator
=
(
const
Server
&
)
=
delete
;
gcc_pure
gcc_pure
bool
operator
==
(
const
Server
&
other
)
const
noexcept
{
bool
operator
==
(
const
Server
&
other
)
const
noexcept
{
...
...
src/output/plugins/AlsaOutputPlugin.cxx
View file @
220d2bf0
...
@@ -226,6 +226,9 @@ public:
...
@@ -226,6 +226,9 @@ public:
snd_config_update_free_global
();
snd_config_update_free_global
();
}
}
AlsaOutput
(
const
AlsaOutput
&
)
=
delete
;
AlsaOutput
&
operator
=
(
const
AlsaOutput
&
)
=
delete
;
using
MultiSocketMonitor
::
GetEventLoop
;
using
MultiSocketMonitor
::
GetEventLoop
;
gcc_pure
gcc_pure
...
...
src/output/plugins/AoOutputPlugin.cxx
View file @
220d2bf0
...
@@ -42,6 +42,9 @@ public:
...
@@ -42,6 +42,9 @@ public:
~
AoInit
()
noexcept
{
~
AoInit
()
noexcept
{
ao_shutdown
();
ao_shutdown
();
}
}
AoInit
(
const
AoInit
&
)
=
delete
;
AoInit
&
operator
=
(
const
AoInit
&
)
=
delete
;
};
};
class
AoOutput
final
:
AudioOutput
,
SafeSingleton
<
AoInit
>
{
class
AoOutput
final
:
AudioOutput
,
SafeSingleton
<
AoInit
>
{
...
@@ -55,6 +58,9 @@ class AoOutput final : AudioOutput, SafeSingleton<AoInit> {
...
@@ -55,6 +58,9 @@ class AoOutput final : AudioOutput, SafeSingleton<AoInit> {
explicit
AoOutput
(
const
ConfigBlock
&
block
);
explicit
AoOutput
(
const
ConfigBlock
&
block
);
~
AoOutput
()
override
;
~
AoOutput
()
override
;
AoOutput
(
const
AoOutput
&
)
=
delete
;
AoOutput
&
operator
=
(
const
AoOutput
&
)
=
delete
;
public
:
public
:
static
AudioOutput
*
Create
(
EventLoop
&
,
const
ConfigBlock
&
block
)
{
static
AudioOutput
*
Create
(
EventLoop
&
,
const
ConfigBlock
&
block
)
{
return
new
AoOutput
(
block
);
return
new
AoOutput
(
block
);
...
...
src/output/plugins/FifoOutputPlugin.cxx
View file @
220d2bf0
...
@@ -49,6 +49,9 @@ public:
...
@@ -49,6 +49,9 @@ public:
CloseFifo
();
CloseFifo
();
}
}
FifoOutput
(
const
FifoOutput
&
)
=
delete
;
FifoOutput
&
operator
=
(
const
FifoOutput
&
)
=
delete
;
static
AudioOutput
*
Create
(
EventLoop
&
,
static
AudioOutput
*
Create
(
EventLoop
&
,
const
ConfigBlock
&
block
)
{
const
ConfigBlock
&
block
)
{
return
new
FifoOutput
(
block
);
return
new
FifoOutput
(
block
);
...
...
src/output/plugins/ShoutOutputPlugin.cxx
View file @
220d2bf0
...
@@ -51,6 +51,9 @@ struct ShoutOutput final : AudioOutput {
...
@@ -51,6 +51,9 @@ struct ShoutOutput final : AudioOutput {
explicit
ShoutOutput
(
const
ConfigBlock
&
block
);
explicit
ShoutOutput
(
const
ConfigBlock
&
block
);
~
ShoutOutput
()
override
;
~
ShoutOutput
()
override
;
ShoutOutput
(
const
ShoutOutput
&
)
=
delete
;
ShoutOutput
&
operator
=
(
const
ShoutOutput
&
)
=
delete
;
static
AudioOutput
*
Create
(
EventLoop
&
event_loop
,
static
AudioOutput
*
Create
(
EventLoop
&
event_loop
,
const
ConfigBlock
&
block
);
const
ConfigBlock
&
block
);
...
...
src/storage/plugins/NfsStorage.cxx
View file @
220d2bf0
...
@@ -85,6 +85,9 @@ public:
...
@@ -85,6 +85,9 @@ public:
nfs_finish
();
nfs_finish
();
}
}
NfsStorage
(
const
NfsStorage
&
)
=
delete
;
NfsStorage
&
operator
=
(
const
NfsStorage
&
)
=
delete
;
/* virtual methods from class Storage */
/* virtual methods from class Storage */
StorageFileInfo
GetInfo
(
std
::
string_view
uri_utf8
,
bool
follow
)
override
;
StorageFileInfo
GetInfo
(
std
::
string_view
uri_utf8
,
bool
follow
)
override
;
...
...
src/storage/plugins/UdisksStorage.cxx
View file @
220d2bf0
...
@@ -93,6 +93,9 @@ public:
...
@@ -93,6 +93,9 @@ public:
}
}
}
}
UdisksStorage
(
const
UdisksStorage
&
)
=
delete
;
UdisksStorage
&
operator
=
(
const
UdisksStorage
&
)
=
delete
;
EventLoop
&
GetEventLoop
()
const
noexcept
{
EventLoop
&
GetEventLoop
()
const
noexcept
{
return
defer_mount
.
GetEventLoop
();
return
defer_mount
.
GetEventLoop
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment