summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-11-01 21:12:28 +0000
committerDavid Robillard <d@drobilla.net>2013-11-01 21:12:28 +0000
commitf33f560214cc5975cb94f3eafe21f1d1b0de07e5 (patch)
tree3a88ca2505ffe4447f390bab1b6436222ec505e4
parentaeadaef403c5b8ef786d994c8644af255c2097c9 (diff)
downloadingen-f33f560214cc5975cb94f3eafe21f1d1b0de07e5.tar.gz
ingen-f33f560214cc5975cb94f3eafe21f1d1b0de07e5.tar.bz2
ingen-f33f560214cc5975cb94f3eafe21f1d1b0de07e5.zip
Remove unused typedefs.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5167 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/client/ClientStore.cpp2
-rw-r--r--src/gui/PropertiesWindow.cpp1
-rw-r--r--src/serialisation/Serialiser.cpp1
-rw-r--r--src/server/events/Delta.cpp2
4 files changed, 0 insertions, 6 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index aabe41b0..9882d2d5 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -92,7 +92,6 @@ ClientStore::add_object(SPtr<ObjectModel> object)
}
- typedef Resource::Properties::const_iterator Iterator;
for (auto p : object->properties())
object->signal_property().emit(p.first, p.second);
}
@@ -309,7 +308,6 @@ ClientStore::delta(const Raul::URI& uri,
const Resource::Properties& remove,
const Resource::Properties& add)
{
- typedef Resource::Properties::const_iterator iterator;
#ifdef INGEN_CLIENT_STORE_DUMP
std::cerr << "Delta " << uri << " {" << endl;
for (auto r : remove)
diff --git a/src/gui/PropertiesWindow.cpp b/src/gui/PropertiesWindow.cpp
index 719b22cf..2db38c8e 100644
--- a/src/gui/PropertiesWindow.cpp
+++ b/src/gui/PropertiesWindow.cpp
@@ -288,7 +288,6 @@ PropertiesWindow::on_show()
int height = 0;
Gtk::Requisition req;
- typedef Gtk::Box_Helpers::BoxList Children;
for (const auto& c : _vbox->children()) {
req = c.get_widget()->size_request();
if (c.get_widget() != _scrolledwindow) {
diff --git a/src/serialisation/Serialiser.cpp b/src/serialisation/Serialiser.cpp
index a6c181f9..709781bf 100644
--- a/src/serialisation/Serialiser.cpp
+++ b/src/serialisation/Serialiser.cpp
@@ -551,7 +551,6 @@ Serialiser::Impl::serialise_properties(Sord::Node id,
sratom_set_pretty_numbers(_sratom, true);
- typedef Node::Properties::const_iterator iterator;
for (const auto& p : props) {
const Sord::URI key(_model->world(), p.first);
if (!skip_property(_world.uris(), key)) {
diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp
index f8a5b23c..831b4c52 100644
--- a/src/server/events/Delta.cpp
+++ b/src/server/events/Delta.cpp
@@ -101,8 +101,6 @@ Delta::~Delta()
bool
Delta::pre_process()
{
- typedef Properties::const_iterator iterator;
-
const bool is_graph_object = Node::uri_is_path(_subject);
const bool is_client = (_subject == "ingen:/clients/this");