Ignore:
Timestamp:
Oct 7, 2014, 12:55:07 AM (7 years ago)
Author:
Peter
Message:

prefer strcmp over generic std::equal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/omic/BamRead.cc

    r3306 r3323  
    3131#include <algorithm>
    3232#include <cassert>
     33#include <cstring>
    3334#include <sstream>
    3435
     
    381382      return false;
    382383
    383     return std::equal(lhs.name(),
    384                       lhs.name() + lhs.core().l_qname,
    385                       rhs.name());
     384    return !strcmp(lhs.name(), rhs.name());
    386385  }
    387386
Note: See TracChangeset for help on using the changeset viewer.