diff options
| author | Steven Fuller <relnev@icculus.org> | 2002-02-09 19:30:43 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | e681d155d9cbc27bdacc05bd967a249c56e3f1f1 (patch) | |
| tree | a9dd62eae0f354d1522a4f35ad795274e9bb63ba /src/win95/awtexld.cpp | |
| parent | 47d9cc1b2c85ca67375a507d273aae082427b46f (diff) | |
Disable Gold-only weapons for Regular edition (Tim Beckmann)
fixed compiling with -DNDEBUG
Diffstat (limited to 'src/win95/awtexld.cpp')
| -rw-r--r-- | src/win95/awtexld.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win95/awtexld.cpp b/src/win95/awtexld.cpp index bef0b26..fa615bb 100644 --- a/src/win95/awtexld.cpp +++ b/src/win95/awtexld.cpp @@ -228,7 +228,7 @@ namespace AwTl db_log1(("AW: Potential Memory Leaks Detected!!!")); } #ifdef _CPPRTTI - #warning "Run-Time Type Identification (RTTI) is enabled" + //#warning "Run-Time Type Identification (RTTI) is enabled" for (Iterator itLeak(*this) ; !itLeak.Done() ; itLeak.Next()) { db_logf1(("\tAW Object not deallocated: Type: %s RefCnt: %u",typeid(*itLeak.Get()).name(),itLeak.Get()->m_nRefCnt)); @@ -238,7 +238,7 @@ namespace AwTl db_log1(("AW: Object dump complete")); } #else // ! _CPPRTTI - #warning "Run-Time Type Identification (RTTI) is not enabled - memory leak checking will not report types" + //#warning "Run-Time Type Identification (RTTI) is not enabled - memory leak checking will not report types" unsigned nRefs(0); for (Iterator itLeak(*this) ; !itLeak.Done() ; itLeak.Next()) { |
