summaryrefslogtreecommitdiffstats
path: root/ingen
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-25 12:52:58 -0500
committerDavid Robillard <d@drobilla.net>2017-12-25 12:52:58 -0500
commit3f6d53e423bd809b9c8ae807d28c61e99ce0a2f2 (patch)
treec3aa29eb94e0a51146473505ec4eeac7447551a4 /ingen
parente2d1344c7c4960da1f57e656c87c4599d81988aa (diff)
downloadingen-3f6d53e423bd809b9c8ae807d28c61e99ce0a2f2.tar.gz
ingen-3f6d53e423bd809b9c8ae807d28c61e99ce0a2f2.tar.bz2
ingen-3f6d53e423bd809b9c8ae807d28c61e99ce0a2f2.zip
Make single parameter destructors explicit
Diffstat (limited to 'ingen')
-rw-r--r--ingen/AtomForgeSink.hpp2
-rw-r--r--ingen/ClashAvoider.hpp2
-rw-r--r--ingen/LV2Features.hpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/ingen/AtomForgeSink.hpp b/ingen/AtomForgeSink.hpp
index 66ccafe3..8c070701 100644
--- a/ingen/AtomForgeSink.hpp
+++ b/ingen/AtomForgeSink.hpp
@@ -32,7 +32,7 @@ namespace Ingen {
class AtomForgeSink
{
public:
- AtomForgeSink(LV2_Atom_Forge* forge = nullptr)
+ explicit AtomForgeSink(LV2_Atom_Forge* forge = nullptr)
: _capacity(8 * sizeof(LV2_Atom))
, _size(0)
, _buf((LV2_Atom*)calloc(8, sizeof(LV2_Atom)))
diff --git a/ingen/ClashAvoider.hpp b/ingen/ClashAvoider.hpp
index 78cda050..a5cd3643 100644
--- a/ingen/ClashAvoider.hpp
+++ b/ingen/ClashAvoider.hpp
@@ -34,7 +34,7 @@ class Store;
class INGEN_API ClashAvoider
{
public:
- ClashAvoider(const Store& store);
+ explicit ClashAvoider(const Store& store);
const Raul::URI map_uri(const Raul::URI& in);
const Raul::Path map_path(const Raul::Path& in);
diff --git a/ingen/LV2Features.hpp b/ingen/LV2Features.hpp
index 91e57dc6..f8006fc4 100644
--- a/ingen/LV2Features.hpp
+++ b/ingen/LV2Features.hpp
@@ -53,7 +53,7 @@ protected:
class EmptyFeature : public Feature {
public:
- EmptyFeature(const char* uri) : _uri(uri) {}
+ explicit EmptyFeature(const char* uri) : _uri(uri) {}
const char* uri() const override { return _uri; }