quick checks on empty control lists, to avoid unnecessary work
[ardour.git] / gtk2_ardour / gui_object.h
index 16b43f31e3fa8ce479faeed8a96ab6bfb460da78..62eeaa9a33cdb8b7e6d40e4b1490570c0361889c 100644 (file)
@@ -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,