From 6fe17c9cd2561fb32e382a97701a5343451d8b7f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Oct 2011 15:23:14 +0000 Subject: Fix compilation on Mac OS X git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3591 a436a847-0d15-0410-975c-d299462d15a1 --- .../ingen/client/ThreadedSigClientInterface.hpp | 1 + include/ingen/serialisation/Serialiser.hpp | 28 +++++++++++----------- include/ingen/shared/Store.hpp | 1 + 3 files changed, 16 insertions(+), 14 deletions(-) (limited to 'include') diff --git a/include/ingen/client/ThreadedSigClientInterface.hpp b/include/ingen/client/ThreadedSigClientInterface.hpp index 64901e8f..3de2eaea 100644 --- a/include/ingen/client/ThreadedSigClientInterface.hpp +++ b/include/ingen/client/ThreadedSigClientInterface.hpp @@ -22,6 +22,7 @@ #include +#undef nil #include #include diff --git a/include/ingen/serialisation/Serialiser.hpp b/include/ingen/serialisation/Serialiser.hpp index 4dbb78de..111794d7 100644 --- a/include/ingen/serialisation/Serialiser.hpp +++ b/include/ingen/serialisation/Serialiser.hpp @@ -49,29 +49,29 @@ class Serialiser { public: Serialiser(Shared::World& world, SharedPtr store); - ~Serialiser(); + virtual ~Serialiser(); typedef GraphObject::Properties Properties; - void to_file(SharedPtr object, - const std::string& filename); + virtual void to_file(SharedPtr object, + const std::string& filename); - void write_bundle(SharedPtr patch, - const std::string& path); + virtual void write_bundle(SharedPtr patch, + const std::string& path); - std::string to_string(SharedPtr object, - const std::string& base_uri, - const Properties& extra_rdf); + virtual std::string to_string(SharedPtr object, + const std::string& base_uri, + const Properties& extra_rdf); - void start_to_string(const Raul::Path& root, - const std::string& base_uri); + virtual void start_to_string(const Raul::Path& root, + const std::string& base_uri); - void serialise(SharedPtr object) throw (std::logic_error); + virtual void serialise(SharedPtr object) throw (std::logic_error); - void serialise_connection(const Sord::Node& parent, - SharedPtr c) throw (std::logic_error); + virtual void serialise_connection(const Sord::Node& parent, + SharedPtr c) throw (std::logic_error); - std::string finish(); + virtual std::string finish(); private: struct Impl; diff --git a/include/ingen/shared/Store.hpp b/include/ingen/shared/Store.hpp index cc78e946..3347cdde 100644 --- a/include/ingen/shared/Store.hpp +++ b/include/ingen/shared/Store.hpp @@ -20,6 +20,7 @@ #include +#undef nil #include #include "raul/PathTable.hpp" -- cgit v1.2.1