Changeset 102:bdcacd7c4619 in rrlib_logging


Ignore:
Timestamp:
19.05.2013 00:18:29 (7 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Transplant:
e9799c1ed9148baabbd9cb2d53acb0d38800da6f
Message:

Removed boost dependency.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • make.xml

    r92 r102  
    44 
    55  <rrlib name="logging" 
    6         libs="boost_thread rt"> 
     6        libs="rt"> 
    77    <sources> 
    88      configuration/*.cpp 
  • messages/tStream.h

    r101 r102  
    6161 
    6262#include <exception> 
    63 #include <boost/type_traits/is_base_of.hpp> 
    64 #include <boost/utility/enable_if.hpp> 
    6563#include "rrlib/time/time.h" 
    6664 
     
    150148   */ 
    151149  template <typename T> 
    152   inline typename boost::disable_if<boost::is_base_of<std::exception, T>, tStream>::type &operator << (const T &value) 
     150  inline typename std::enable_if < !std::is_base_of<std::exception, T>::value, tStream >::type &operator << (const T &value) 
    153151  { 
    154152    this->stream << value; 
Note: See TracChangeset for help on using the changeset viewer.