mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2026-10-12 02:58:00 +08:00
Allow compilation on gcc/clang without -Wno-unknown-pragmas.
This commit is contained in:
1 parent
34d4b05185
commit
9889382863
67 files changed
+218
-17
No files matched your search
@@ -49,7 +49,9 @@ DECLARE_BUILD_FACTORY( EditablePanel );
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Constructor
|
||||
//-----------------------------------------------------------------------------
|
||||
#ifdef _WIN32
|
||||
#pragma warning( disable : 4355 )
|
||||
#endif
|
||||
|
||||
EditablePanel::EditablePanel(Panel *parent, const char *panelName) : Panel(parent, panelName), m_NavGroup(this)
|
||||
{
|
||||
@@ -78,7 +80,9 @@ EditablePanel::EditablePanel(Panel *parent, const char *panelName, HScheme hSche
|
||||
SetBuildGroup(GetBuildGroup());
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#pragma warning( default : 4355 )
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Destructor
|
||||
|
||||
Reference in new issue
Block a user