Changeset 49:718cc4437521 in finroc_plugins_data_ports


Ignore:
Timestamp:
18.10.2013 09:39:59 (6 years ago)
Author:
Michael Arndt <m_arndt@…>
Branch:
13.10
Children:
50:980555d97ea7, 51:48f953a87784
Phase:
public
Message:

Adapted to changes in libstdc++ for GCC 4.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • type_traits.h

    r47 r49  
    7878struct tIsCheaplyCopiedType 
    7979{ 
     80#if __GNUC__ == 4 && __GNUC_MINOR__ >= 8 
     81  enum { value = std::is_trivially_destructible<T>::value && (sizeof(T) <= 256) }; 
     82#else 
    8083  enum { value = std::has_trivial_destructor<T>::value && (sizeof(T) <= 256) }; 
     84#endif 
    8185}; 
    8286 
Note: See TracChangeset for help on using the changeset viewer.