From 525c5e204eae765c2bb22fdf160f0e8fab6a7591 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Fri, 20 Sep 2024 12:53:35 +0800 Subject: [PATCH] update --- src/tools/dna.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; // 别加,刚被坑了