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
2c401f11
Commit
2c401f11
authored
Jan 23, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/{adplug,sidplay}: add missing "noexcept"
Closes #202
parent
d084950b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
AdPlugDecoderPlugin.cxx
src/decoder/plugins/AdPlugDecoderPlugin.cxx
+2
-2
SidplayDecoderPlugin.cxx
src/decoder/plugins/SidplayDecoderPlugin.cxx
+2
-2
No files found.
src/decoder/plugins/AdPlugDecoderPlugin.cxx
View file @
2c401f11
...
@@ -83,7 +83,7 @@ adplug_file_decode(DecoderClient &client, Path path_fs)
...
@@ -83,7 +83,7 @@ adplug_file_decode(DecoderClient &client, Path path_fs)
static
void
static
void
adplug_scan_tag
(
TagType
type
,
const
std
::
string
&
value
,
adplug_scan_tag
(
TagType
type
,
const
std
::
string
&
value
,
const
TagHandler
&
handler
,
void
*
handler_ctx
)
const
TagHandler
&
handler
,
void
*
handler_ctx
)
noexcept
{
{
if
(
!
value
.
empty
())
if
(
!
value
.
empty
())
tag_handler_invoke_tag
(
handler
,
handler_ctx
,
tag_handler_invoke_tag
(
handler
,
handler_ctx
,
...
@@ -92,7 +92,7 @@ adplug_scan_tag(TagType type, const std::string &value,
...
@@ -92,7 +92,7 @@ adplug_scan_tag(TagType type, const std::string &value,
static
bool
static
bool
adplug_scan_file
(
Path
path_fs
,
adplug_scan_file
(
Path
path_fs
,
const
TagHandler
&
handler
,
void
*
handler_ctx
)
const
TagHandler
&
handler
,
void
*
handler_ctx
)
noexcept
{
{
CEmuopl
opl
(
sample_rate
,
true
,
true
);
CEmuopl
opl
(
sample_rate
,
true
,
true
);
opl
.
init
();
opl
.
init
();
...
...
src/decoder/plugins/SidplayDecoderPlugin.cxx
View file @
2c401f11
...
@@ -104,7 +104,7 @@ sidplay_init(const ConfigBlock &block)
...
@@ -104,7 +104,7 @@ sidplay_init(const ConfigBlock &block)
}
}
static
void
static
void
sidplay_finish
()
sidplay_finish
()
noexcept
{
{
delete
songlength_database
;
delete
songlength_database
;
}
}
...
@@ -442,7 +442,7 @@ ScanSidTuneInfo(const SidTuneInfo &info, unsigned track, unsigned n_tracks,
...
@@ -442,7 +442,7 @@ ScanSidTuneInfo(const SidTuneInfo &info, unsigned track, unsigned n_tracks,
static
bool
static
bool
sidplay_scan_file
(
Path
path_fs
,
sidplay_scan_file
(
Path
path_fs
,
const
TagHandler
&
handler
,
void
*
handler_ctx
)
const
TagHandler
&
handler
,
void
*
handler_ctx
)
noexcept
{
{
const
auto
container
=
ParseContainerPath
(
path_fs
);
const
auto
container
=
ParseContainerPath
(
path_fs
);
const
unsigned
song_num
=
container
.
track
;
const
unsigned
song_num
=
container
.
track
;
...
...
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