summaryrefslogtreecommitdiff
path: root/libs/pbd/transmitter.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-09-17 18:26:03 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-09-17 18:26:03 -0600
commitbd229936ec2cb30fe3360f2d83ffc7197fd6fb97 (patch)
tree84e41e048d76541d5d491ccefe8c7feaa14f4d5c /libs/pbd/transmitter.cc
parentfc3e7623e7a4c7fdeebf84c4d47eaf04d9bc744d (diff)
add finite state machine to control/manage transport state
Diffstat (limited to 'libs/pbd/transmitter.cc')
-rw-r--r--libs/pbd/transmitter.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/pbd/transmitter.cc b/libs/pbd/transmitter.cc
index f1ae75deb9..719e30a122 100644
--- a/libs/pbd/transmitter.cc
+++ b/libs/pbd/transmitter.cc
@@ -57,8 +57,6 @@ void
Transmitter::deliver ()
{
- string foo;
-
/* NOTE: this is just a default action for a Transmitter or a
derived class. Any class can override this to produce some
other action when deliver() is called.
@@ -68,8 +66,7 @@ Transmitter::deliver ()
/* send the SigC++ signal */
- foo = str();
- (*send) (channel, foo.c_str());
+ (*send) (channel, str().c_str());
/* XXX when or how can we delete this ? */
// delete foo;