]> git.donarmstrong.com Git - bamtools.git/commitdiff
Fixed SamHeader copy
authorgrenaud <gabriel.reno@gmail.com>
Tue, 12 Feb 2013 17:59:53 +0000 (18:59 +0100)
committergrenaud <gabriel.reno@gmail.com>
Tue, 12 Feb 2013 17:59:53 +0000 (18:59 +0100)
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)