Commit 0e2c5978 authored by Max Kellermann's avatar Max Kellermann

MusicBuffer: remove `noexcept` from constructor

The `SliceBuffer` constructor can throw.
parent debdf9bb
/*
* Copyright 2003-2017 The Music Player Daemon Project
* Copyright 2003-2018 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) {
}
......
/*
* Copyright 2003-2017 The Music Player Daemon Project
* Copyright 2003-2018 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
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment