summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-18 16:20:14 +0000
committerDavid Robillard <d@drobilla.net>2011-10-18 16:20:14 +0000
commit1fbc215b67e1ec4f8a09dee5740304794605fe60 (patch)
tree5bf7757627072ff1cc4227d647464c18b15b2271 /src/server
parent051b24dd6002fa9ed742105a69e9998044ec39ef (diff)
downloadingen-1fbc215b67e1ec4f8a09dee5740304794605fe60.tar.gz
ingen-1fbc215b67e1ec4f8a09dee5740304794605fe60.tar.bz2
ingen-1fbc215b67e1ec4f8a09dee5740304794605fe60.zip
Clang warning fixes.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3546 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/CompiledPatch.hpp10
-rw-r--r--src/server/OSCEngineReceiver.hpp2
2 files changed, 7 insertions, 5 deletions
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<NodeImpl*>& 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<CompiledNode>
- , public Raul::Deletable
- , public boost::noncopyable
+class CompiledPatch : public std::vector<CompiledNode>
+ , public Raul::Deletable
+ , public boost::noncopyable
{
+public:
typedef std::vector<ConnectionImpl*> QueuedConnections;
/** All (audio context => other context) connections */
diff --git a/src/server/OSCEngineReceiver.hpp b/src/server/OSCEngineReceiver.hpp
index c3d9829a..f032d009 100644
--- a/src/server/OSCEngineReceiver.hpp
+++ b/src/server/OSCEngineReceiver.hpp
@@ -68,7 +68,7 @@ private:
OSCEngineReceiver& _receiver;
};
- friend class ReceiveThread;
+ friend struct ReceiveThread;
ReceiveThread* _receive_thread;