Skip to content
Snippets Groups Projects
Commit fddacd11 authored by Veronique Legrand's avatar Veronique Legrand
Browse files

fixed compilation error

parent dd8a7f70
No related branches found
No related tags found
No related merge requests found
Pipeline #154452 failed
...@@ -32,7 +32,7 @@ public : ...@@ -32,7 +32,7 @@ public :
public: public:
DnaSeqStr():fq_record_buf(new char[MAX_FQ_RECORD_LENGTH]) { DnaSeqStr():fq_record_buf(new char[MAX_FQ_RECORD_LENGTH]) {
cout<<"Calling DnaSeqStr constructor"<<endl; cout<<"Calling DnaSeqStr constructor"<<endl;
length=0; length=0;
start_idx=0; start_idx=0;
} }
...@@ -44,8 +44,8 @@ public: ...@@ -44,8 +44,8 @@ public:
} }
~DnaSeqStr() { ~DnaSeqStr() {
cout<<"Calling DnaSeqStr destructor"<<endl; cout<<"Calling DnaSeqStr destructor"<<endl;
delete fq_record_buf[]; delete[] fq_record_buf;
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment