Remove obsolete MSVC version tests.
Don't compare __VISUALC__ with versions 1200 (VC6) and earlier, such tests are always true or always false now that we don't support VC6 any more, so just remove them simplifying the code. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,8 +25,7 @@
|
||||
#include "wx/hashmap.h"
|
||||
#include "wx/hashset.h"
|
||||
|
||||
#if defined wxLongLong_t && !defined wxLongLongIsLong && \
|
||||
(!defined __VISUALC__ || __VISUALC__ > 1100) // doesn't work on VC5
|
||||
#if defined wxLongLong_t && !defined wxLongLongIsLong
|
||||
#define TEST_LONGLONG
|
||||
#endif
|
||||
|
||||
@@ -468,12 +467,6 @@ void HashesTestCase::LLongHashMapTest() { HashMapTest<myLLongHashMap>(); }
|
||||
void HashesTestCase::ULLongHashMapTest() { HashMapTest<myULLongHashMap>(); }
|
||||
#endif
|
||||
|
||||
#ifdef __VISUALC__
|
||||
#if __VISUALC__ <= 1200
|
||||
#pragma warning(disable:4284) // operator->() returns a non-UDT
|
||||
#endif
|
||||
#endif // __VISUALC__
|
||||
|
||||
// test compilation of basic set types
|
||||
WX_DECLARE_HASH_SET( int*, wxPointerHash, wxPointerEqual, myPtrHashSet );
|
||||
WX_DECLARE_HASH_SET( long, wxIntegerHash, wxIntegerEqual, myLongHashSet );
|
||||
|
Reference in New Issue
Block a user