]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/SamHeader.cpp
Fixed SamHeader copy
[bamtools.git] / src / api / SamHeader.cpp
index b2925f2a5d6575729ba785e4926c85bab8bb9fd5..9221944e4848b90b8e0688a47e248df7748f5fce 100644 (file)
@@ -72,6 +72,8 @@ SamHeader::SamHeader(const SamHeader& other)
     , Sequences(other.Sequences)
     , ReadGroups(other.ReadGroups)
     , Programs(other.Programs)
+    , Comments(other.Comments)
+    , m_errorString(other.GetErrorString())
 { }
 
 /*! \fn SamHeader::~SamHeader(void)