Commit a8f31419 authored by Max Kellermann's avatar Max Kellermann

playlist/flac: add `noexcept`

parent 545af857
......@@ -45,13 +45,13 @@ class FlacPlaylist final : public SongEnumerator {
public:
FlacPlaylist(const char *_uri,
FLAC__StreamMetadata *_cuesheet,
const FLAC__StreamMetadata &streaminfo)
const FLAC__StreamMetadata &streaminfo) noexcept
:uri(_uri), cuesheet(_cuesheet),
sample_rate(streaminfo.data.stream_info.sample_rate),
total_samples(streaminfo.data.stream_info.total_samples) {
}
virtual ~FlacPlaylist() {
~FlacPlaylist() noexcept override {
FLAC__metadata_object_delete(cuesheet);
}
......
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