Figured out how to serialize a shared_ptr<string>
[mussa.git] / alg / sequence.cpp
index b2fa0114a3676f5dbf0e7a9b9d336449d1485548..e318207e93b06c31e6d86ca6095dd5b66b0724f1 100644 (file)
@@ -254,7 +254,7 @@ void Sequence::set_filtered_sequence(const std::string &old_seq,
 
   if ( count == 0)
     count = old_seq.size() - start;
-  boost::shared_ptr<std::string> new_seq(new std::string);
+  boost::shared_ptr<seq_string> new_seq(new seq_string);
   new_seq->reserve(count);
 
   // Make a conversion table