From: Lee Baker Date: Sun, 18 Mar 2012 07:00:47 +0000 (+1300) Subject: Fix: Comment lines in header get lost when copying a SamHeader object. X-Git-Url: https://git.donarmstrong.com/?p=bamtools.git;a=commitdiff_plain;h=d87a3d2b453e3f4b6c5acc376870ef46f86a0337 Fix: Comment lines in header get lost when copying a SamHeader object. --- diff --git a/src/api/SamHeader.cpp b/src/api/SamHeader.cpp index b2925f2..967957a 100644 --- a/src/api/SamHeader.cpp +++ b/src/api/SamHeader.cpp @@ -72,6 +72,7 @@ SamHeader::SamHeader(const SamHeader& other) , Sequences(other.Sequences) , ReadGroups(other.ReadGroups) , Programs(other.Programs) + , Comments(other.Comments) { } /*! \fn SamHeader::~SamHeader(void)