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
92dc4a0c
Commit
92dc4a0c
authored
Apr 24, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sticker/Database: add `noexcept`
parent
c7c303ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
StickerDatabase.cxx
src/sticker/StickerDatabase.cxx
+3
-3
StickerDatabase.hxx
src/sticker/StickerDatabase.hxx
+3
-3
No files found.
src/sticker/StickerDatabase.cxx
View file @
92dc4a0c
/*
* Copyright 2003-201
8
The Music Player Daemon Project
* Copyright 2003-201
9
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -134,7 +134,7 @@ sticker_global_init(Path path)
}
void
sticker_global_finish
()
sticker_global_finish
()
noexcept
{
if
(
sticker_db
==
nullptr
)
/* not configured */
...
...
@@ -321,7 +321,7 @@ sticker_delete_value(const char *type, const char *uri, const char *name)
}
void
sticker_free
(
Sticker
*
sticker
)
sticker_free
(
Sticker
*
sticker
)
noexcept
{
delete
sticker
;
}
...
...
src/sticker/StickerDatabase.hxx
View file @
92dc4a0c
/*
* Copyright 2003-201
8
The Music Player Daemon Project
* Copyright 2003-201
9
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -62,7 +62,7 @@ sticker_global_init(Path path);
* Close the sticker database.
*/
void
sticker_global_finish
();
sticker_global_finish
()
noexcept
;
/**
* Returns true if the sticker database is configured and available.
...
...
@@ -114,7 +114,7 @@ sticker_delete_value(const char *type, const char *uri, const char *name);
* @param sticker the sticker object to be freed
*/
void
sticker_free
(
Sticker
*
sticker
);
sticker_free
(
Sticker
*
sticker
)
noexcept
;
/**
* Determines a single value in a sticker.
...
...
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