From f3018a7e232818a8e957aca20496530500ff8918 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Thu, 19 Sep 2024 09:58:39 +0800 Subject: [PATCH] update --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 2bbf027..00bf56c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -80,7 +80,7 @@ int main() while (input_file_stream.getline(buf.data(),MAX_SIZE,'\n')) { - int m = lines%=2; //防止溢出 + auto m = lines%=2; //防止溢出 const auto buf_len = strlen(buf.data()); const std::string_view suffix("\n"); //设置一个每个DNA序列结尾的字符,这里是以\n换行来结尾 if (m == 1){