diff options
author | David Robillard <d@drobilla.net> | 2010-09-30 08:23:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-09-30 08:23:42 +0000 |
commit | 14e30ac0256161439dd2bd7a80c3eba40abebad2 (patch) | |
tree | ddcaa76e8309addb90107c84da8fe6908a0ede8e /src/engine/Engine.hpp | |
parent | 6a0bf109a7136eba01504842930ac070d1f55ee8 (diff) | |
download | ingen-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/Engine.hpp')
-rw-r--r-- | src/engine/Engine.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Engine.hpp b/src/engine/Engine.hpp index 577ac461..9f0f08a8 100644 --- a/src/engine/Engine.hpp +++ b/src/engine/Engine.hpp @@ -64,7 +64,7 @@ class QueuedEvent; class Engine : public boost::noncopyable { public: - Engine(Ingen::Shared::World* world); + explicit Engine(Ingen::Shared::World* world); virtual ~Engine(); |