Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8400


Ignore:
Timestamp:
May 4, 2011, 4:49:20 AM (14 years ago)
Author:
rgrieder
Message:

Removed strange hack. Extensive tests while watching Top Gear have revealed that it isn't necessary anymore.

Location:
code/trunk/src/libraries/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/util/Math.cc

    r7401 r8400  
    3838#include "MathConvert.h"
    3939#include "SubString.h"
    40 // Do not remove this include, it avoids linker errors.
    41 #include "mbool.h"
    4240
    4341namespace orxonox
  • code/trunk/src/libraries/util/mbool.h

    r7401 r8400  
    5656        the counter.
    5757    */
    58     struct _UtilExport mbool
     58    struct mbool
    5959    {
    6060        public:
     
    6565            inline mbool(const mbool& value)
    6666                { this->value_.memory_ = value.value_.memory_; }
     67            /// Destructor does nothing but not defining it might create a symbol (class is header only)
     68            inline ~mbool()
     69                { }
    6770
    6871            /// Assigns a boolean value (and increases the memory value if the value is different to the old value).
Note: See TracChangeset for help on using the changeset viewer.