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
8f0a1a5d
Commit
8f0a1a5d
authored
4 years ago
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/Interface: add `noexcept`
parent
c0775d32
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Interface.hxx
src/output/Interface.hxx
+5
-5
No files found.
src/output/Interface.hxx
View file @
8f0a1a5d
...
...
@@ -41,21 +41,21 @@ protected:
static
constexpr
unsigned
FLAG_NEED_FULLY_DEFINED_AUDIO_FORMAT
=
0x4
;
public
:
explicit
AudioOutput
(
unsigned
_flags
)
:
flags
(
_flags
)
{}
virtual
~
AudioOutput
()
=
default
;
explicit
AudioOutput
(
unsigned
_flags
)
noexcept
:
flags
(
_flags
)
{}
virtual
~
AudioOutput
()
noexcept
=
default
;
AudioOutput
(
const
AudioOutput
&
)
=
delete
;
AudioOutput
&
operator
=
(
const
AudioOutput
&
)
=
delete
;
bool
SupportsEnableDisable
()
const
{
bool
SupportsEnableDisable
()
const
noexcept
{
return
flags
&
FLAG_ENABLE_DISABLE
;
}
bool
SupportsPause
()
const
{
bool
SupportsPause
()
const
noexcept
{
return
flags
&
FLAG_PAUSE
;
}
bool
GetNeedFullyDefinedAudioFormat
()
const
{
bool
GetNeedFullyDefinedAudioFormat
()
const
noexcept
{
return
flags
&
FLAG_NEED_FULLY_DEFINED_AUDIO_FORMAT
;
}
...
...
This diff is collapsed.
Click to expand it.
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