Skip to content

Commit

Permalink
Replace deprecated typeinfo.h with typeinfo in Win32 includes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmcwatters committed Dec 15, 2024
1 parent 1ed8bd4 commit 9031e8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mp/src/game/client/hud_pdump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static CPDumpPanel *g_pPDumpPanel = NULL;
// retaining our own warning setup...ywb
#ifdef WIN32
#pragma warning( push )
#include <typeinfo.h>
#include <typeinfo>
#pragma warning( pop )
#endif

Expand Down
2 changes: 1 addition & 1 deletion mp/src/game/client/physics_main_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "cbase.h"
#include "c_baseentity.h"
#ifdef WIN32
#include <typeinfo.h>
#include <typeinfo>
#endif
#include "tier0/vprof.h"

Expand Down

0 comments on commit 9031e8b

Please sign in to comment.