Ignore:
Timestamp:
Apr 29, 2014, 3:40:53 AM (9 years ago)
Author:
Peter
Message:

refs #790. workaround for old boost

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/bam_pair_iterator.cc

    r3196 r3197  
    2727#include "yat/omic/BamWriteIterator.h"
    2828#endif
    29 
    30 #include <boost/version.hpp>
    3129
    3230#include <algorithm>
     
    7674  for (; piter!=pend; ++piter) {
    7775    result.push_back(*piter);
     76    result.back() = *piter;
    7877    // This code doesn't work with boost 1.48 (or older). See
    7978    // https://svn.boost.org/trac/boost/ticket/5697 for details. It's
     
    8180    // and if it wasn't modify this test accordingly and update the
    8281    // docs in 'yat/omic/BamPairIterator.h'.
    83 #if BOOST_VERSION > 104800
    8482    result.back().first() = piter->first();
    8583    result.back().second() = piter->second();
    86 #endif
    8784  }
    8885  // not really doing anything since we've already iterated through
Note: See TracChangeset for help on using the changeset viewer.