diff options
Diffstat (limited to 'gtk2_ardour/gui_object.h')
-rw-r--r-- | gtk2_ardour/gui_object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/gui_object.h b/gtk2_ardour/gui_object.h index 16b43f31e3..62eeaa9a33 100644 --- a/gtk2_ardour/gui_object.h +++ b/gtk2_ardour/gui_object.h @@ -66,6 +66,9 @@ public: static XMLNode* get_or_add_node (XMLNode *, const std::string &); private: + // no copy construction. object_map saves pointers to _state XMLNodes + // use set_state(get_state()) + GUIObjectState (const GUIObjectState& other); XMLNode _state; // ideally we'd use a O(1) hash table here, |