summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-12 18:51:29 +0000
committerDavid Robillard <d@drobilla.net>2013-01-12 18:51:29 +0000
commit1630b3fd62c57e01468a03a9d4dde397f903ef37 (patch)
tree12f48c2d3377ba7537f3d359421af761eb58b33d /src/server
parent4e3f4a2a0fdca75352265ba8490fbe9f397e264a (diff)
downloadingen-1630b3fd62c57e01468a03a9d4dde397f903ef37.tar.gz
ingen-1630b3fd62c57e01468a03a9d4dde397f903ef37.tar.bz2
ingen-1630b3fd62c57e01468a03a9d4dde397f903ef37.zip
Lint.
Fix test suite compilation. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4937 a436a847-0d15-0410-975c-d299462d15a1
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