From 9b74155f7b22cf1525d19cbad138b147aca1c124 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 28 Oct 2013 23:52:58 +0000 Subject: Pass sample rate to nodes (fix #931). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5162 a436a847-0d15-0410-975c-d299462d15a1 --- src/Resource.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Resource.cpp') diff --git a/src/Resource.cpp b/src/Resource.cpp index cd448e32..aa6adf07 100644 --- a/src/Resource.cpp +++ b/src/Resource.cpp @@ -173,7 +173,6 @@ Resource::set_properties(const Properties& props) void Resource::add_properties(const Properties& props) { - typedef Resource::Properties::const_iterator iterator; for (const auto& p : props) add_property(p.first, p.second, p.second.context()); } @@ -181,7 +180,6 @@ Resource::add_properties(const Properties& props) void Resource::remove_properties(const Properties& props) { - typedef Resource::Properties::const_iterator iterator; for (const auto& p : props) remove_property(p.first, p.second); } @@ -193,8 +191,6 @@ Resource::properties(Resource::Graph ctx) const return properties(); } - typedef Resource::Properties::const_iterator iterator; - Properties props; for (const auto& p : _properties) { if (p.second.context() == Resource::Graph::DEFAULT -- cgit v1.2.1