From fddacd11b6f65714beec53394f60196967c0047f Mon Sep 17 00:00:00 2001
From: Veronique Legrand <vlegrand@pasteur.fr>
Date: Thu, 10 Apr 2025 15:54:14 +0200
Subject: [PATCH] fixed compilation error

---
 src/DnaSeqStr.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/DnaSeqStr.h b/src/DnaSeqStr.h
index b9cb795..8bd7bc0 100644
--- a/src/DnaSeqStr.h
+++ b/src/DnaSeqStr.h
@@ -32,7 +32,7 @@ public :
 
 public:
     DnaSeqStr():fq_record_buf(new char[MAX_FQ_RECORD_LENGTH]) {
-	cout<<"Calling DnaSeqStr constructor"<<endl;
+	    cout<<"Calling DnaSeqStr constructor"<<endl;
     	length=0;
     	start_idx=0;
     }
@@ -44,8 +44,8 @@ public:
     }
 
     ~DnaSeqStr() {
-	cout<<"Calling DnaSeqStr destructor"<<endl;
-    	delete fq_record_buf[];
+	    cout<<"Calling DnaSeqStr destructor"<<endl;
+    	delete[] fq_record_buf;
     }
 };
 
-- 
GitLab