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
520c5205
Commit
520c5205
authored
Nov 26, 2017
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
player/Listener: add "noexcept"
parent
a6910313
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Partition.cxx
src/Partition.cxx
+2
-2
Partition.hxx
src/Partition.hxx
+2
-2
Listener.hxx
src/player/Listener.hxx
+2
-2
No files found.
src/Partition.cxx
View file @
520c5205
...
...
@@ -118,13 +118,13 @@ Partition::OnQueueSongStarted()
}
void
Partition
::
OnPlayerSync
()
Partition
::
OnPlayerSync
()
noexcept
{
EmitGlobalEvent
(
SYNC_WITH_PLAYER
);
}
void
Partition
::
OnPlayerTagModified
()
Partition
::
OnPlayerTagModified
()
noexcept
{
EmitGlobalEvent
(
TAG_MODIFIED
);
}
...
...
src/Partition.hxx
View file @
520c5205
...
...
@@ -232,8 +232,8 @@ private:
void
OnQueueSongStarted
()
override
;
/* virtual methods from class PlayerListener */
void
OnPlayerSync
()
override
;
void
OnPlayerTagModified
()
override
;
void
OnPlayerSync
()
noexcept
override
;
void
OnPlayerTagModified
()
noexcept
override
;
/* virtual methods from class MixerListener */
void
OnMixerVolumeChanged
(
Mixer
&
mixer
,
int
volume
)
override
;
...
...
src/player/Listener.hxx
View file @
520c5205
...
...
@@ -25,12 +25,12 @@ public:
/**
* Must call playlist_sync().
*/
virtual
void
OnPlayerSync
()
=
0
;
virtual
void
OnPlayerSync
()
noexcept
=
0
;
/**
* The current song's tag has changed.
*/
virtual
void
OnPlayerTagModified
()
=
0
;
virtual
void
OnPlayerTagModified
()
noexcept
=
0
;
};
#endif
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