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
9f79d034
Commit
9f79d034
authored
Apr 03, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client/Process: add `noexcept`
parent
4a745a39
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ClientInternal.hxx
src/client/ClientInternal.hxx
+1
-1
ClientProcess.cxx
src/client/ClientProcess.cxx
+2
-2
No files found.
src/client/ClientInternal.hxx
View file @
9f79d034
...
...
@@ -35,6 +35,6 @@ extern size_t client_max_command_list_size;
extern
size_t
client_max_output_buffer_size
;
CommandResult
client_process_line
(
Client
&
client
,
char
*
line
);
client_process_line
(
Client
&
client
,
char
*
line
)
noexcept
;
#endif
src/client/ClientProcess.cxx
View file @
9f79d034
...
...
@@ -30,7 +30,7 @@
static
CommandResult
client_process_command_list
(
Client
&
client
,
bool
list_ok
,
std
::
list
<
std
::
string
>
&&
list
)
std
::
list
<
std
::
string
>
&&
list
)
noexcept
{
CommandResult
ret
=
CommandResult
::
OK
;
unsigned
num
=
0
;
...
...
@@ -51,7 +51,7 @@ client_process_command_list(Client &client, bool list_ok,
}
CommandResult
client_process_line
(
Client
&
client
,
char
*
line
)
client_process_line
(
Client
&
client
,
char
*
line
)
noexcept
{
CommandResult
ret
;
...
...
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