Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11082


Ignore:
Timestamp:
Jan 20, 2016, 11:05:10 PM (4 years ago)
Author:
landauf
Message:

trying to fix bogus (?) warning on gcc [see http://orxonox2.vseth.ethz.ch/phpBB3/viewtopic.php?f=3&t=1127&p=5314#p5314]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/class/OrxonoxClass.h

    r9667 r11082  
    5555        public:
    5656            OrxonoxClass();
     57
     58            // This is only here to work around a bogus warning in GCC:
     59            //
     60            //   OrxonoxClass.h:53:23: warning: defaulted move assignment for 'orxonox::OrxonoxClass' calls a non-trivial move assignment operator for virtual base 'orxonox::Configurable' [-Wvirtual-move-assign]
     61            //   class _CoreExport OrxonoxClass : virtual public Configurable, virtual public Destroyable
     62            //
     63            // You can remove this line if the whole project compiles without warnings in future versions of GCC.
     64            OrxonoxClass& operator=(const OrxonoxClass&) = default;
    5765    };
    5866}
Note: See TracChangeset for help on using the changeset viewer.