Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5659 in orxonox.OLD for trunk/src/lib/util/multi_type.h


Ignore:
Timestamp:
Nov 20, 2005, 11:31:18 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: valgrind sweep - no more Use of Uninitialized Value in MultiType

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/multi_type.h

    r5644 r5659  
    3939    MultiType(char value);
    4040    MultiType(const char* value);
     41    MultiType(const MultiType& multiType);
    4142    virtual ~MultiType();
    4243
    43 //    MultiType operator= (const MultiType& mt);
     44    MultiType& operator= (const MultiType& mt);
    4445
    4546    void setType(int type);
     
    8081
    8182  private:
    82     MT_Type             type;
     83
    8384    union MultiTypeValue
    8485    {
     
    9192    }                   value;
    9293
     94    MT_Type             type;
     95
    9396    char*               storedString;
    9497};
Note: See TracChangeset for help on using the changeset viewer.