summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/Broadcaster.hpp2
-rw-r--r--src/server/LV2Options.hpp2
-rw-r--r--src/server/PortType.hpp4
-rw-r--r--src/server/ProcessContext.hpp4
4 files changed, 4 insertions, 8 deletions
diff --git a/src/server/Broadcaster.hpp b/src/server/Broadcaster.hpp
index 559bf709..33b438e5 100644
--- a/src/server/Broadcaster.hpp
+++ b/src/server/Broadcaster.hpp
@@ -55,7 +55,7 @@ public:
* updates simple (e.g. Event::post_process()).
*/
struct Transfer : public Raul::Noncopyable {
- Transfer(Broadcaster& b) : broadcaster(b) {
+ explicit Transfer(Broadcaster& b) : broadcaster(b) {
if (++broadcaster._bundle_depth == 1) {
broadcaster.bundle_begin();
}
diff --git a/src/server/LV2Options.hpp b/src/server/LV2Options.hpp
index 5f100f2a..19ddfd4b 100644
--- a/src/server/LV2Options.hpp
+++ b/src/server/LV2Options.hpp
@@ -29,7 +29,7 @@ namespace Ingen {
namespace Server {
struct LV2Options : public Ingen::LV2Features::Feature {
- LV2Options(Engine& engine)
+ explicit LV2Options(Engine& engine)
: _block_length(0)
, _seq_size(0)
{
diff --git a/src/server/PortType.hpp b/src/server/PortType.hpp
index 5445d907..0fd61156 100644
--- a/src/server/PortType.hpp
+++ b/src/server/PortType.hpp
@@ -56,9 +56,7 @@ public:
}
}
- PortType(ID id)
- : _id(id)
- {}
+ PortType(ID id) : _id(id) {}
inline const Raul::URI& uri() const { return type_uri(_id); }
inline ID id() const { return _id; }
diff --git a/src/server/ProcessContext.hpp b/src/server/ProcessContext.hpp
index ca98babf..729bf4c4 100644
--- a/src/server/ProcessContext.hpp
+++ b/src/server/ProcessContext.hpp
@@ -32,9 +32,7 @@ namespace Server {
class ProcessContext : public Context
{
public:
- ProcessContext(Engine& engine)
- : Context(engine, ID::AUDIO)
- {}
+ explicit ProcessContext(Engine& engine) : Context(engine, ID::AUDIO) {}
};
} // namespace Server