WFAligner::alignEndsFree() based on char* (line 106 in WFAligner.cpp) seems to be correct, but the other method based on std::string (line 122 in WFAligner.cpp) returns WFAligner::alignEnd2End(), which is not correct.
Instead, it is supposed to return WFAligner::alignEndsFree() using .c_str():
WFAligner::alignEndsFree()
based onchar*
(line 106 in WFAligner.cpp) seems to be correct, but the other method based onstd::string
(line 122 in WFAligner.cpp) returnsWFAligner::alignEnd2End()
, which is not correct.Instead, it is supposed to return
WFAligner::alignEndsFree()
using.c_str()
: