LLNL / SAMRAI

Structured Adaptive Mesh Refinement Application Infrastructure - a scalable C++ framework for block-structured AMR application development
https://computing.llnl.gov/projects/samrai
Other
220 stars 80 forks source link

Remove unneeded template syntax from destructor declarations. #237

Closed nselliott closed 1 year ago

nselliott commented 1 year ago

This removes the template type syntax that was added to destructor declarations inside class definitions throughout the library, such as:

  `virtual ~NodeDataFactory<TYPE>();`

This syntax is nonstandard and was starting to cause compiler errors when using C++20.

Addresses https://github.com/LLNL/SAMRAI/issues/236 Extends the changes from https://github.com/LLNL/SAMRAI/pull/232 to all affected classes.