summaryrefslogtreecommitdiff
path: root/libs/pbd/stateful.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/stateful.cc')
-rw-r--r--libs/pbd/stateful.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/stateful.cc b/libs/pbd/stateful.cc
index 92314e1e53..ac36a69127 100644
--- a/libs/pbd/stateful.cc
+++ b/libs/pbd/stateful.cc
@@ -44,9 +44,9 @@ namespace PBD {
int Stateful::current_state_version = 0;
int Stateful::loading_state_version = 0;
-static void regular_delete (void* p) { bool* bp = reinterpret_cast<bool*> (p); delete bp; std::cerr << "Deleted RSSI bool\n"; }
+static void do_not_delete (void*) {}
-Glib::Threads::Private<bool> Stateful::regenerate_xml_or_string_ids (regular_delete);
+Glib::Threads::Private<bool> Stateful::regenerate_xml_or_string_ids (do_not_delete);
Stateful::Stateful ()
: _extra_xml (0)