]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/PropertyBasedElement.hxx
Fix #1783: repeated error message on console
[simgear.git] / simgear / props / PropertyBasedElement.hxx
index 52af9b30bb79fcd3cc033edf3823be011d1af6fe..c43fef2a73bf46f777902abd7dcae88a79cc42ff 100644 (file)
@@ -30,7 +30,7 @@ namespace simgear
    */
   class PropertyBasedElement:
     public SGPropertyChangeListener,
-    public SGWeakReferenced
+    public virtual SGVirtualWeakReferenced
   {
     public:
       PropertyBasedElement(SGPropertyNode* node);
@@ -39,8 +39,8 @@ namespace simgear
       /**
        * Remove the property listener of the element.
        *
-       * You will need to call the appropriate methods (#childAdded,
-       * #childRemoved, #valueChanged) yourself to ensure the element still
+       * You will need to call the appropriate methods (childAdded(),
+       * childRemoved(), valueChanged()) yourself to ensure the element still
        * receives the needed events.
        */
       void removeListener();