summaryrefslogtreecommitdiff
path: root/libs/pbd/stateful.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-11-16 21:55:57 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-11-16 21:55:57 -0500
commitd2cba4d7ac11de98883968a22c16d9030d5a75dd (patch)
treed9d3f7d5e3f3e50134584a21e9726f49c9b96647 /libs/pbd/stateful.cc
parente1dc2d46042af61ae045eb49568e9284453c9e12 (diff)
fix inadvertently commit error related to at-process-exit deletion for thread private variable
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)