From 5a02324c09b004d6deb76a2a9a94ee07ad43dcd2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 23 Jun 2018 18:40:36 +0200 Subject: [PATCH] MusicBuffer: make constructor explicit --- src/MusicBuffer.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MusicBuffer.hxx b/src/MusicBuffer.hxx index 3bae9a197..d418a1c76 100644 --- a/src/MusicBuffer.hxx +++ b/src/MusicBuffer.hxx @@ -40,7 +40,7 @@ public: * @param num_chunks the number of #MusicChunk reserved in * this buffer */ - MusicBuffer(unsigned num_chunks) noexcept; + explicit MusicBuffer(unsigned num_chunks) noexcept; #ifndef NDEBUG /**