summaryrefslogtreecommitdiffstats
path: root/src/engine/EventSource.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-09-30 08:23:42 +0000
committerDavid Robillard <d@drobilla.net>2010-09-30 08:23:42 +0000
commit14e30ac0256161439dd2bd7a80c3eba40abebad2 (patch)
treeddcaa76e8309addb90107c84da8fe6908a0ede8e /src/engine/EventSource.hpp
parent6a0bf109a7136eba01504842930ac070d1f55ee8 (diff)
downloadingen-14e30ac0256161439dd2bd7a80c3eba40abebad2.tar.gz
ingen-14e30ac0256161439dd2bd7a80c3eba40abebad2.tar.bz2
ingen-14e30ac0256161439dd2bd7a80c3eba40abebad2.zip
Declare single-argument constructors explicit (except where implicit conversion is actually desired).
See http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Explicit_Constructors git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2619 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/EventSource.hpp')
-rw-r--r--src/engine/EventSource.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/EventSource.hpp b/src/engine/EventSource.hpp
index dab8d90f..05f7ef0c 100644
--- a/src/engine/EventSource.hpp
+++ b/src/engine/EventSource.hpp
@@ -39,7 +39,7 @@ class ProcessContext;
class EventSource : protected Raul::Slave
{
public:
- EventSource(size_t queue_size);
+ explicit EventSource(size_t queue_size);
virtual ~EventSource();
virtual void activate_source() { Slave::start(); }