forked from lijiext/lammps
Squelching annoying kokkos output
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14508 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
ed17939b75
commit
b355fa25f4
|
@ -388,18 +388,18 @@ struct AllocationRecordPool
|
|||
curr = next;
|
||||
} while ( curr != start );
|
||||
|
||||
if ( !string_vec.empty() ) {
|
||||
std::sort( string_vec.begin(), string_vec.end() );
|
||||
|
||||
std::ostringstream oss;
|
||||
oss << "Error: Allocation pool destroyed with the following memory leak(s):\n";
|
||||
for (size_t i=0; i< string_vec.size(); ++i)
|
||||
{
|
||||
oss << " " << string_vec[i] << std::endl;
|
||||
}
|
||||
|
||||
std::cerr << oss.str() << std::endl;
|
||||
}
|
||||
//if ( !string_vec.empty() ) {
|
||||
// std::sort( string_vec.begin(), string_vec.end() );
|
||||
//
|
||||
// std::ostringstream oss;
|
||||
// oss << "Error: Allocation pool destroyed with the following memory leak(s):\n";
|
||||
// for (size_t i=0; i< string_vec.size(); ++i)
|
||||
// {
|
||||
// oss << " " << string_vec[i] << std::endl;
|
||||
// }
|
||||
//
|
||||
// std::cerr << oss.str() << std::endl;
|
||||
//}
|
||||
}
|
||||
|
||||
// delete singletons
|
||||
|
|
Loading…
Reference in New Issue