]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/SGBinding.cxx
Fix #1783: repeated error message on console
[simgear.git] / simgear / structure / SGBinding.cxx
index 62d1b3c5d96c1c5eafdad0b2a00422838d8d3dfe..28e6f8169d5f4ae2332fb3c2e5a2d4a8d143413b 100644 (file)
@@ -44,7 +44,7 @@ SGBinding::SGBinding(const SGPropertyNode* node, SGPropertyNode* root)
 SGBinding::~SGBinding()
 {
   if(_arg && _arg->getParent())
-    _arg->getParent()->removeChild(_arg->getName(), _arg->getIndex(), false);
+    _arg->getParent()->removeChild(_arg->getName(), _arg->getIndex());
 }
 
 void