зеркало из https://github.com/mozilla/gecko-dev.git
Bug 508760 - Remove MSVC6 support from the tree; (Bv1) xpcom/ds/*.cpp; r=doug.turner
--HG-- extra : rebase_source : 5a08118a7f1562c89c4e0da5035ef6a578eca9f2
This commit is contained in:
Родитель
13a73e0e0d
Коммит
1bf86ff50c
|
@ -102,9 +102,7 @@ nsObserverService::Create(nsISupports* outer, const nsIID& aIID, void* *aInstanc
|
|||
|
||||
nsRefPtr<nsObserverService> os = new nsObserverService();
|
||||
|
||||
// The cast is required for MSVC6, otherwise it complains about calling
|
||||
// a private function.
|
||||
if (!os || !((nsObserverService*) os)->mObserverTopicTable.IsInitialized())
|
||||
if (!os || !os->mObserverTopicTable.IsInitialized())
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
return os->QueryInterface(aIID, aInstancePtr);
|
||||
|
|
|
@ -43,12 +43,6 @@
|
|||
#include "nsString.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
||||
// The Platform SDK included with VC6 does not define REG_QWORD. VC 7's
|
||||
// WinNT.h defines REG_QWORD as follows:
|
||||
#ifndef REG_QWORD
|
||||
# define REG_QWORD 11
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
// According to MSDN, the following limits apply (in characters excluding room
|
||||
|
|
Загрузка…
Ссылка в новой задаче