aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_resampler_internal.h
diff options
context:
space:
mode:
authorAlex Chronopoulos <[email protected]>2016-03-22 23:09:40 +0200
committerAlex Chronopoulos <[email protected]>2016-03-22 23:09:40 +0200
commit2e17a63f2b5794148beda928ba1872ad708cc7c4 (patch)
treec8be371fffe465c2cb38adcdfbaad9a9596031e9 /src/cubeb_resampler_internal.h
parentf969cbf2b8e06af9a38a227986d8a3e5a7083daa (diff)
downloadcubeb-2e17a63f2b5794148beda928ba1872ad708cc7c4.tar.gz
cubeb-2e17a63f2b5794148beda928ba1872ad708cc7c4.zip
Declare constructor of processor and auto_array explicit
Diffstat (limited to 'src/cubeb_resampler_internal.h')
-rw-r--r--src/cubeb_resampler_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb_resampler_internal.h b/src/cubeb_resampler_internal.h
index 6489b64..75f122d 100644
--- a/src/cubeb_resampler_internal.h
+++ b/src/cubeb_resampler_internal.h
@@ -67,7 +67,7 @@ private:
/** Base class for processors. This is just used to share methods for now. */
class processor {
public:
- processor(uint32_t channels)
+ explicit processor(uint32_t channels)
: channels(channels)
{}
protected: