Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 7, 2008, 10:00:35 AM (16 years ago)
Author:
rgrieder
Message:

Suppressing compiler warnings is not anymore necessary in MultiType (no inheritance with assignment operators).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/util/MultiType.h

    r1728 r1729  
    3535
    3636#include "Math.h"
    37 
    38 // disable annoying warning about multiple assignment operators
    39 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
    40 #pragma warning(push)
    41 #pragma warning(disable:4522)
    42 #endif
    4337
    4438enum MT_Type
     
    418412inline void MultiType::setValue(const char* value)                  { if (this->value_) { this->value_->setValue(std::string(value)); } else { this->assignValue(std::string(value)); } }
    419413
    420 
    421 #if ORXONOX_COMPILER == ORXONOX_COMPILER_MSVC
    422 #pragma warning(pop)
    423 #endif
    424 
    425414#endif /* _MultiType_H__ */
Note: See TracChangeset for help on using the changeset viewer.