зеркало из https://github.com/mozilla/pjs.git
fix windows build problems
This commit is contained in:
Родитель
df1f76464f
Коммит
5f929a962c
|
@ -183,7 +183,10 @@ public:
|
|||
~CSharedVSContext() {
|
||||
}
|
||||
|
||||
static CSharedVSContext& GetSharedContext();
|
||||
static CSharedVSContext& GetSharedContext() {
|
||||
static CSharedVSContext gSharedVSContext;
|
||||
return gSharedVSContext;
|
||||
}
|
||||
|
||||
nsCParserNode mEndNode;
|
||||
nsCParserNode mStartNode;
|
||||
|
@ -220,12 +223,7 @@ CViewSourceHTML::CViewSourceHTML() : nsIDTD(),
|
|||
|
||||
}
|
||||
|
||||
static CSharedVSContext __CSharedVSContext_gSharedVSContext;
|
||||
|
||||
static CSharedVSContext& CSharedVSContext::GetSharedContext()
|
||||
{
|
||||
return __CSharedVSContext_gSharedVSContext;
|
||||
}
|
||||
|
||||
/**
|
||||
* Default destructor
|
||||
|
|
|
@ -183,7 +183,10 @@ public:
|
|||
~CSharedVSContext() {
|
||||
}
|
||||
|
||||
static CSharedVSContext& GetSharedContext();
|
||||
static CSharedVSContext& GetSharedContext() {
|
||||
static CSharedVSContext gSharedVSContext;
|
||||
return gSharedVSContext;
|
||||
}
|
||||
|
||||
nsCParserNode mEndNode;
|
||||
nsCParserNode mStartNode;
|
||||
|
@ -220,12 +223,7 @@ CViewSourceHTML::CViewSourceHTML() : nsIDTD(),
|
|||
|
||||
}
|
||||
|
||||
static CSharedVSContext __CSharedVSContext_gSharedVSContext;
|
||||
|
||||
static CSharedVSContext& CSharedVSContext::GetSharedContext()
|
||||
{
|
||||
return __CSharedVSContext_gSharedVSContext;
|
||||
}
|
||||
|
||||
/**
|
||||
* Default destructor
|
||||
|
|
Загрузка…
Ссылка в новой задаче