From fd60e03a8ff7b6d5e0a04cdefce3c113413b43d2 Mon Sep 17 00:00:00 2001 From: Shifu Chen Date: Thu, 7 Oct 2021 08:19:52 +0800 Subject: [PATCH] clear asserts --- src/read.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/read.cpp b/src/read.cpp index 0ad909c..c912501 100644 --- a/src/read.cpp +++ b/src/read.cpp @@ -138,7 +138,6 @@ void Read::appendToString(string* target) { total++; str[total] = '\0'; - assert(total == size); target->append(str, size); delete[] str; } @@ -169,7 +168,6 @@ void Read::appendToStringWithTag(string* target, string tag) { total++; str[total] = '\0'; - assert(total == size); target->append(str, size); delete[] str; }