From df1447c665e6c3631961297a9d3e9aff4e94c47f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 Jan 2013 23:38:03 +0000 Subject: Remove Raul::SharedPtr and switch to std::shared_ptr. Use project local short type aliases for shared_ptr and friends. Move Raul::Disposable and Raul::Manageable into Raul::Maid. Use sets to store machina nodes and edges to avoid O(n) searches. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4939 a436a847-0d15-0410-975c-d299462d15a1 --- tests/ingen_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/ingen_test.cpp') diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index 8608b447..7bba3289 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -28,7 +28,6 @@ #include #include "raul/Path.hpp" -#include "raul/SharedPtr.hpp" #include "raul/Thread.hpp" #include "serd/serd.h" @@ -48,6 +47,7 @@ #include "ingen/client/ThreadedSigClientInterface.hpp" #include "ingen/runtime_paths.hpp" #include "ingen/serialisation/Parser.hpp" +#include "ingen/types.hpp" #ifdef WITH_BINDINGS #include "bindings/ingen_bindings.hpp" #endif @@ -197,10 +197,10 @@ main(int argc, char** argv) // AtomWriter to serialise responses from the engine /* TestClient client; - SharedPtr atom_writer( + SPtr atom_writer( new AtomWriter(world->uri_map(), world->uris(), client)); */ - SharedPtr client(new TestClient(world->log())); + SPtr client(new TestClient(world->log())); world->interface()->set_respondee(client); world->engine()->register_client(Raul::URI("ingen:/clients/test"), -- cgit v1.2.1