Added a .get() to a comptr to make it compile on linux.

This commit is contained in:
dougt%netscape.com 2000-02-21 22:09:24 +00:00
parent 6f83a7fc25
commit 6e4324a177

View File

@ -240,7 +240,7 @@ nsDirectoryService::nsDirectoryService()
NS_ASSERTION(mHashtable != NULL, "hashtable null error");
NS_NewISupportsArray(getter_AddRefs(mProviders));
NS_ASSERTION(mProviders != NULL, "providers null error");
NS_ASSERTION(mProviders.get() != NULL, "providers null error");
RegisterProvider(NS_STATIC_CAST(nsIDirectoryServiceProvider*, this));
}