pezmaster31 / bamtools

C++ API & command-line toolkit for working with BAM data
MIT License
418 stars 153 forks source link

allow BamWriter deep copy #224

Open glis-glis opened 2 years ago

glis-glis commented 2 years ago

The default copy constructor was implicitly created and only did a shallow copy, leading to a double delete.

Either provide a deep copy constructor or set it as =delete