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 ()
{
lock_guard<mutex> guard(block_allocator_mutex);
cout << "****************** delete BlockAllocator " << endl;
// cout << "****************** delete BlockAllocator " << endl;
for (int i = 0; i < bablocks.Size(); i++)
delete [] bablocks[i];
bablocks.SetSize(0);

View File

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