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
0e2c5978
Commit
0e2c5978
authored
Sep 21, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MusicBuffer: remove `noexcept` from constructor
The `SliceBuffer` constructor can throw.
parent
debdf9bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
MusicBuffer.cxx
src/MusicBuffer.cxx
+2
-2
MusicBuffer.hxx
src/MusicBuffer.hxx
+2
-2
No files found.
src/MusicBuffer.cxx
View file @
0e2c5978
/*
* Copyright 2003-201
7
The Music Player Daemon Project
* Copyright 2003-201
8
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -23,7 +23,7 @@
#include <assert.h>
MusicBuffer
::
MusicBuffer
(
unsigned
num_chunks
)
noexcept
MusicBuffer
::
MusicBuffer
(
unsigned
num_chunks
)
:
buffer
(
num_chunks
)
{
}
...
...
src/MusicBuffer.hxx
View file @
0e2c5978
/*
* Copyright 2003-201
7
The Music Player Daemon Project
* Copyright 2003-201
8
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -40,7 +40,7 @@ public:
* @param num_chunks the number of #MusicChunk reserved in
* this buffer
*/
explicit
MusicBuffer
(
unsigned
num_chunks
)
noexcept
;
explicit
MusicBuffer
(
unsigned
num_chunks
);
#ifndef NDEBUG
/**
...
...
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