Make VC5.0 happy with pointers to member function.

git-svn-id: svn://10.0.0.236/trunk@36285 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dp%netscape.com
1999-06-22 17:26:26 +00:00
parent 1cc60a50e9
commit fd2b26b169

View File

@@ -121,6 +121,7 @@ protected:
void InitializeComponent( const nsCID &aComponentCID );
void ShutdownComponent( const nsCID &aComponentCID );
typedef void (nsAppShellService::*EnumeratorMemberFunction)(const nsCID&);
void EnumerateComponents( void (nsAppShellService::*function)(const nsCID&) );
nsIAppShell* mAppShell;
@@ -249,7 +250,7 @@ done:
// Apply function (Initialize/Shutdown) to each app shell component.
void
nsAppShellService::EnumerateComponents( void (nsAppShellService::*function)( const nsCID& ) ) {
nsAppShellService::EnumerateComponents( EnumeratorMemberFunction function ) {
nsresult rv;
nsIRegistry *registry = 0;
nsIRegistry::Key key;