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
fe2f8c08
Commit
fe2f8c08
authored
Aug 02, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partition, ...: add `noexcept` to callback methods
parent
af99f9fc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
Partition.cxx
src/Partition.cxx
+1
-1
Partition.hxx
src/Partition.hxx
+1
-1
Service.cxx
src/db/update/Service.cxx
+1
-1
Service.hxx
src/db/update/Service.hxx
+1
-1
NfsStorage.cxx
src/storage/plugins/NfsStorage.cxx
+1
-1
AvahiPoll.cxx
src/zeroconf/AvahiPoll.cxx
+1
-1
No files found.
src/Partition.cxx
View file @
fe2f8c08
...
...
@@ -208,7 +208,7 @@ Partition::OnMixerVolumeChanged(Mixer &, int) noexcept
}
void
Partition
::
OnGlobalEvent
(
unsigned
mask
)
Partition
::
OnGlobalEvent
(
unsigned
mask
)
noexcept
{
if
((
mask
&
SYNC_WITH_PLAYER
)
!=
0
)
SyncWithPlayer
();
...
...
src/Partition.hxx
View file @
fe2f8c08
...
...
@@ -267,7 +267,7 @@ private:
void
OnMixerVolumeChanged
(
Mixer
&
mixer
,
int
volume
)
noexcept
override
;
/* callback for #global_events */
void
OnGlobalEvent
(
unsigned
mask
);
void
OnGlobalEvent
(
unsigned
mask
)
noexcept
;
};
#endif
src/db/update/Service.cxx
View file @
fe2f8c08
...
...
@@ -106,7 +106,7 @@ UpdateService::CancelMount(const char *uri)
}
inline
void
UpdateService
::
Task
()
UpdateService
::
Task
()
noexcept
{
assert
(
walk
!=
nullptr
);
...
...
src/db/update/Service.hxx
View file @
fe2f8c08
...
...
@@ -110,7 +110,7 @@ private:
void
RunDeferred
()
noexcept
;
/* the update thread */
void
Task
();
void
Task
()
noexcept
;
void
StartThread
(
UpdateQueueItem
&&
i
);
...
...
src/storage/plugins/NfsStorage.cxx
View file @
fe2f8c08
...
...
@@ -122,7 +122,7 @@ public:
}
/* callback for #reconnect_timer */
void
OnReconnectTimer
()
{
void
OnReconnectTimer
()
noexcept
{
assert
(
state
==
State
::
DELAY
);
Connect
();
...
...
src/zeroconf/AvahiPoll.cxx
View file @
fe2f8c08
...
...
@@ -107,7 +107,7 @@ public:
}
private
:
void
OnTimeout
()
{
void
OnTimeout
()
noexcept
{
callback
(
this
,
userdata
);
}
};
...
...
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