From 1fbc215b67e1ec4f8a09dee5740304794605fe60 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 18 Oct 2011 16:20:14 +0000 Subject: Clang warning fixes. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3546 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/CompiledPatch.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/server/CompiledPatch.hpp') diff --git a/src/server/CompiledPatch.hpp b/src/server/CompiledPatch.hpp index 2fe701c0..44306ee2 100644 --- a/src/server/CompiledPatch.hpp +++ b/src/server/CompiledPatch.hpp @@ -34,7 +34,8 @@ class NodeImpl; /** All information required about a node to execute it in an audio thread. */ -struct CompiledNode { +class CompiledNode { +public: CompiledNode(NodeImpl* n, size_t np, const std::list& d) : _node(n), _n_providers(np) { @@ -64,10 +65,11 @@ private: * The parallel processing algorithm guarantees no node will be executed * before its providers, using this order as well as semaphores. */ -struct CompiledPatch : public std::vector - , public Raul::Deletable - , public boost::noncopyable +class CompiledPatch : public std::vector + , public Raul::Deletable + , public boost::noncopyable { +public: typedef std::vector QueuedConnections; /** All (audio context => other context) connections */ -- cgit v1.2.1