summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-12-21 22:43:22 +0000
committerDavid Robillard <d@drobilla.net>2012-12-21 22:43:22 +0000
commitb199a880010e8cae8e1b0328c86e6af9d79a2eb2 (patch)
tree840c2799094b5304c4dd5ec622aad06c151d2730 /src/server/events
parent26d7e8e9399ef49a37463188cd2f841537c9bb4d (diff)
downloadingen-b199a880010e8cae8e1b0328c86e6af9d79a2eb2.tar.gz
ingen-b199a880010e8cae8e1b0328c86e6af9d79a2eb2.tar.bz2
ingen-b199a880010e8cae8e1b0328c86e6af9d79a2eb2.zip
Strip trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4883 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/Connect.cpp2
-rw-r--r--src/server/events/CreateBlock.cpp2
-rw-r--r--src/server/events/CreatePort.cpp2
-rw-r--r--src/server/events/Delete.cpp2
-rw-r--r--src/server/events/Disconnect.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp
index 8a4d07a5..a496bbb4 100644
--- a/src/server/events/Connect.cpp
+++ b/src/server/events/Connect.cpp
@@ -58,7 +58,7 @@ Connect::pre_process()
if (!tail) {
return Event::pre_process_done(NOT_FOUND, _tail_path);
}
-
+
Node* head = _engine.store()->get(_head_path);
if (!head) {
return Event::pre_process_done(NOT_FOUND, _head_path);
diff --git a/src/server/events/CreateBlock.cpp b/src/server/events/CreateBlock.cpp
index f0557a47..b75dbf1e 100644
--- a/src/server/events/CreateBlock.cpp
+++ b/src/server/events/CreateBlock.cpp
@@ -61,7 +61,7 @@ CreateBlock::pre_process()
if (_path.is_root()) {
return Event::pre_process_done(BAD_URI, _path);
}
-
+
std::string plugin_uri_str;
const iterator t = _properties.find(uris.ingen_prototype);
if (t != _properties.end() && t->second.type() == uris.forge.URI) {
diff --git a/src/server/events/CreatePort.cpp b/src/server/events/CreatePort.cpp
index 624802f3..03cc2bd8 100644
--- a/src/server/events/CreatePort.cpp
+++ b/src/server/events/CreatePort.cpp
@@ -88,7 +88,7 @@ CreatePort::pre_process()
if (_port_type == PortType::UNKNOWN) {
return Event::pre_process_done(UNKNOWN_TYPE, _path);
}
-
+
if (_path.is_root()) {
return Event::pre_process_done(BAD_URI, _path);
}
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp
index d221a8ef..77dd9003 100644
--- a/src/server/events/Delete.cpp
+++ b/src/server/events/Delete.cpp
@@ -92,7 +92,7 @@ Delete::pre_process()
parent->remove_block(*_block);
_disconnect_event = new DisconnectAll(_engine, parent, _block.get());
_disconnect_event->pre_process();
-
+
if (parent->enabled()) {
_compiled_graph = parent->compile();
}
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp
index f8284190..645d89c5 100644
--- a/src/server/events/Disconnect.cpp
+++ b/src/server/events/Disconnect.cpp
@@ -129,7 +129,7 @@ Disconnect::pre_process()
if (!head) {
return Event::pre_process_done(PORT_NOT_FOUND, _head_path);
}
-
+
BlockImpl* const src_block = tail->parent_block();
BlockImpl* const dst_block = head->parent_block();