diff --git a/src/tools/dna.hpp b/src/tools/dna.hpp index c92965b..40e6af5 100644 --- a/src/tools/dna.hpp +++ b/src/tools/dna.hpp @@ -46,7 +46,7 @@ namespace dna { }; template - inline void open_file_and_calculate(std::filesystem::path input_path,std::filesystem::path output_path,void (*reverseComplement)(char *begin, char *end)){ + inline void open_file_and_calculate(std::filesystem::path input_path,std::filesystem::path output_path, std::function reverseComplement){ //std::ios_base::sync_with_stdio(false); //加了没效果 //这里直接关掉就行了,不会影响读入,因为目前是一次性读入。开了反而会让日志输出变成全缓冲,不友好 // using namespace std; // 别加,刚被坑了