diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/Broadcaster.hpp | 3 | ||||
-rw-r--r-- | src/server/LV2Options.hpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/server/Broadcaster.hpp b/src/server/Broadcaster.hpp index 5de5ec8f..ba471bc2 100644 --- a/src/server/Broadcaster.hpp +++ b/src/server/Broadcaster.hpp @@ -64,7 +64,8 @@ public: * This makes doing the right thing in recursive functions that send * updates simple (e.g. Event::post_process()). */ - struct Transfer : public Raul::Noncopyable { + class Transfer : public Raul::Noncopyable { + public: 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 cc42d68c..6856fe28 100644 --- a/src/server/LV2Options.hpp +++ b/src/server/LV2Options.hpp @@ -28,7 +28,8 @@ namespace Ingen { namespace Server { -struct LV2Options : public Ingen::LV2Features::Feature { +class LV2Options : public Ingen::LV2Features::Feature { +public: explicit LV2Options(Engine& engine) : _block_length(0) , _seq_size(0) |