LTC Slave, add support for variable framerates
[ardour.git] / libs / pbd / stateful_diff_command.cc
index ffd56c8fb1866d62b7f0b6d82185158e0cde926c..9e22f2bc649fcf14ded884b31bbe85955030285f 100644 (file)
@@ -17,8 +17,6 @@
 
 */
 
-#include <iostream>
-
 #include "pbd/stateful_diff_command.h"
 #include "pbd/property_list.h"
 #include "pbd/demangle.h"
@@ -28,7 +26,7 @@ using namespace std;
 using namespace PBD;
 
 /** Create a new StatefulDiffCommand by examining the changes made to a Stateful
- *  since the last time that clear_history was called on it.
+ *  since the last time that clear_changes was called on it.
  *  @param s Stateful object.
  */
 
@@ -118,3 +116,9 @@ StatefulDiffCommand::get_state ()
 
        return *node;
 }
+
+bool
+StatefulDiffCommand::empty () const
+{
+       return _changes->empty();
+}