--- deliantra/server/include/cfperl.h 2007/07/11 16:55:18 1.82 +++ deliantra/server/include/cfperl.h 2007/07/13 15:54:40 1.83 @@ -211,8 +211,6 @@ { } - virtual ~attachable (); - // set a custom key to the given value, or delete it if value = 0 void set_key (const char *key, const char *value = 0); @@ -235,6 +233,9 @@ // the method that does the real destroy work virtual void do_destroy (); + + // destructor is protected, should not be called by anybody + virtual ~attachable (); }; // the global object is a pseudo object that cares for the global events