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
d1df0fec
Commit
d1df0fec
authored
Jan 11, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/curl: add "noexcept"
parent
031ccce8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
CurlInputPlugin.cxx
src/input/plugins/CurlInputPlugin.cxx
+7
-7
No files found.
src/input/plugins/CurlInputPlugin.cxx
View file @
d1df0fec
...
...
@@ -84,7 +84,7 @@ public:
icy
(
new
IcyMetaDataParser
())
{
}
~
CurlInputStream
();
~
CurlInputStream
()
noexcept
;
CurlInputStream
(
const
CurlInputStream
&
)
=
delete
;
CurlInputStream
&
operator
=
(
const
CurlInputStream
&
)
=
delete
;
...
...
@@ -111,7 +111,7 @@ private:
*
* Runs in the I/O thread.
*/
void
FreeEasy
();
void
FreeEasy
()
noexcept
;
/**
* Frees the current "libcurl easy" handle, and everything associated
...
...
@@ -119,7 +119,7 @@ private:
*
* The mutex must not be locked.
*/
void
FreeEasyIndirect
();
void
FreeEasyIndirect
()
noexcept
;
/**
* The DoSeek() implementation invoked in the IOThread.
...
...
@@ -162,7 +162,7 @@ CurlInputStream::DoResume()
}
void
CurlInputStream
::
FreeEasy
()
CurlInputStream
::
FreeEasy
()
noexcept
{
assert
(
GetEventLoop
().
IsInside
());
...
...
@@ -176,7 +176,7 @@ CurlInputStream::FreeEasy()
}
void
CurlInputStream
::
FreeEasyIndirect
()
CurlInputStream
::
FreeEasyIndirect
()
noexcept
{
BlockingCall
(
GetEventLoop
(),
[
this
](){
FreeEasy
();
...
...
@@ -339,7 +339,7 @@ input_curl_init(EventLoop &event_loop, const ConfigBlock &block)
}
static
void
input_curl_finish
(
void
)
input_curl_finish
(
)
noexcept
{
delete
curl_init
;
...
...
@@ -347,7 +347,7 @@ input_curl_finish(void)
http_200_aliases
=
nullptr
;
}
CurlInputStream
::~
CurlInputStream
()
CurlInputStream
::~
CurlInputStream
()
noexcept
{
FreeEasyIndirect
();
}
...
...
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