aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_utils.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_utils.h
parentf969cbf2b8e06af9a38a227986d8a3e5a7083daa (diff)
downloadcubeb-2e17a63f2b5794148beda928ba1872ad708cc7c4.tar.gz
cubeb-2e17a63f2b5794148beda928ba1872ad708cc7c4.zip
Declare constructor of processor and auto_array explicit
Diffstat (limited to 'src/cubeb_utils.h')
-rw-r--r--src/cubeb_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb_utils.h b/src/cubeb_utils.h
index 15f8315..4d9290b 100644
--- a/src/cubeb_utils.h
+++ b/src/cubeb_utils.h
@@ -37,7 +37,7 @@ template<typename T>
class auto_array
{
public:
- auto_array(uint32_t capacity = 0)
+ explicit auto_array(uint32_t capacity = 0)
: data_(capacity ? new T[capacity] : nullptr)
, capacity_(capacity)
, length_(0)