summaryrefslogtreecommitdiff
path: root/rsc/source/tools/rsctree.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/tools/rsctree.cxx')
-rw-r--r--rsc/source/tools/rsctree.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/tools/rsctree.cxx b/rsc/source/tools/rsctree.cxx
index 8ee50368efdf..494575429dcd 100644
--- a/rsc/source/tools/rsctree.cxx
+++ b/rsc/source/tools/rsctree.cxx
@@ -35,11 +35,11 @@ NameNode::~NameNode()
{
}
-void NameNode::EnumNodes( Link<> aLink ) const
+void NameNode::EnumNodes( Link<const NameNode&,void> aLink ) const
{
if( Left() )
Left()->EnumNodes( aLink );
- aLink.Call( const_cast<NameNode *>(this) );
+ aLink.Call( *this );
if( Right() )
Right()->EnumNodes( aLink );
}