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