summaryrefslogtreecommitdiffstats
path: root/languages/cpp/simpletypecatalog.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/simpletypecatalog.h')
-rw-r--r--languages/cpp/simpletypecatalog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages/cpp/simpletypecatalog.h b/languages/cpp/simpletypecatalog.h
index 92563781..69a920c7 100644
--- a/languages/cpp/simpletypecatalog.h
+++ b/languages/cpp/simpletypecatalog.h
@@ -77,7 +77,7 @@ private:
int pointerDepthFromString( const TQString& str ) {
TQRegExp ptrRx( "(\\*|\\&)" );
- TQString ptr = str.mid( str.tqfind( ptrRx ) );
+ TQString ptr = str.mid( str.find( ptrRx ) );
TQStringList ptrList = TQStringList::split( "", ptr );
return ptrList.size();
}