remove output, fix warning

This commit is contained in:
Joachim Schoeberl 2021-06-21 15:13:08 +02:00
parent ebf1478048
commit 2488bd37ef
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ namespace netgen
BlockAllocator :: ~BlockAllocator () BlockAllocator :: ~BlockAllocator ()
{ {
lock_guard<mutex> guard(block_allocator_mutex); lock_guard<mutex> guard(block_allocator_mutex);
cout << "****************** delete BlockAllocator " << endl; // cout << "****************** delete BlockAllocator " << endl;
for (int i = 0; i < bablocks.Size(); i++) for (int i = 0; i < bablocks.Size(); i++)
delete [] bablocks[i]; delete [] bablocks[i];
bablocks.SetSize(0); bablocks.SetSize(0);

View File

@ -6,8 +6,8 @@ namespace netgen
netrule :: netrule () netrule :: netrule ()
{ {
name = new char[1]; // name = new char[1];
name[0] = char(0); // name[0] = char(0);
quality = 0; quality = 0;
} }