Ignore:
Timestamp:
Jan 14, 2021, 3:59:03 AM (9 months ago)
Author:
Peter
Message:

add move constructor for BamPair?

File:
1 edited

Legend:

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

    r3792 r4025  
    3737  BamPair::BamPair(const BamRead& first, const BamRead& second)
    3838    : first_(first), second_(second) {}
     39
     40
     41  BamPair::BamPair(BamRead&& first, BamRead&& second)
     42    : first_(std::move(first)), second_(std::move(second)) {}
    3943
    4044
Note: See TracChangeset for help on using the changeset viewer.