Ignore:
Timestamp:
Dec 5, 2012, 4:43:35 AM (9 years ago)
Author:
Peter
Message:

fast swap for BamRead?

File:
1 edited

Legend:

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

    r2883 r2886  
    199199
    200200
     201  void BamRead::swap(BamRead& other)
     202  {
     203    std::swap(bam_, other.bam_);
     204  }
     205
     206
     207  void swap(BamRead& lhs, BamRead& rhs)
     208  {
     209    lhs.swap(rhs);
     210  }
     211
    201212  bool same_query_name(const BamRead& lhs, const BamRead& rhs)
    202213  {
Note: See TracChangeset for help on using the changeset viewer.