Changeset 7514 for code/branches/ois_update/src
- Timestamp:
- Oct 9, 2010, 3:36:51 PM (14 years ago)
- Location:
- code/branches/ois_update/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/src/OrxonoxConfig.cmake
r7380 r7514 75 75 ENDIF(MSVC) 76 76 77 # Part of a woraround for OS X warnings. See OrxonoxConfig.h.in 78 IF(HAVE_STDINT_H) 79 SET(HAVE_STDINT_H 1) 80 ELSE() 81 SET(HAVE_STDINT_H 0) 82 ENDIF() 83 77 84 # Check iso646.h include (literal operators) 78 85 INCLUDE(CheckIncludeFileCXX) -
code/branches/ois_update/src/OrxonoxConfig.h.in
r7401 r7514 158 158 #endif 159 159 160 #cmakedefine HAVE_STDINT_H 161 #ifdef HAVE_STDINT_H 160 // On OS X some headers already define HAVE_STDINT_H and that spits out 161 // some warnings. Therefore we use this syntax. 162 // Note: This requires some extra code in OrxonoxConfig.cmake 163 #if @HAVE_STDINT_H@ 162 164 # include <stdint.h> 163 165 #elif defined(ORXONOX_COMPILER_MSVC) -
code/branches/ois_update/src/libraries/core/command/Functor.h
r7401 r7514 186 186 187 187 public: 188 virtual ~Functor() {} 189 188 190 /// Calls the function-pointer with up to five arguments. In case of a member-function, the assigned object-pointer is used to call the function. @return Returns the return-value of the function (if any; MT_Type::Null otherwise) 189 191 virtual MultiType operator()(const MultiType& param1 = MT_Type::Null, const MultiType& param2 = MT_Type::Null, const MultiType& param3 = MT_Type::Null, const MultiType& param4 = MT_Type::Null, const MultiType& param5 = MT_Type::Null) = 0; … … 248 250 /// Constructor: Stores the object-pointer. 249 251 FunctorMember(O* object = 0) : object_(object) {} 252 virtual ~FunctorMember() {} 250 253 251 254 /// Calls the function-pointer with up to five arguments and an object. In case of a static-function, the object can be NULL. @return Returns the return-value of the function (if any; MT_Type::Null otherwise) -
code/branches/ois_update/src/libraries/util/SharedPtr.h
r7401 r7514 163 163 public: 164 164 SharedCounter() : count_(1) {} 165 virtual ~SharedCounter() {} 165 166 virtual void destroy() = 0; 166 167
Note: See TracChangeset
for help on using the changeset viewer.