arfc / moltres

Repository for Moltres, a code for simulating Molten Salt Reactors
GNU Lesser General Public License v2.1
66 stars 41 forks source link

Replace deprecated code involving "include guards" and "validParams" #159

Closed smpark7 closed 3 years ago

smpark7 commented 3 years ago

Closes #136, #137

This PR:

  1. replaces all #ifndef include guards to #pragma once for QOL improvements (#136),
  2. updates all code to use a static function for validParams, replacing the former deprecated method (#137),
  3. adds overrides to inherited functions which are redefined in child classes,
  4. updates the Squirrel submodule for the latest commits involving similar changes as the above.
smpark7 commented 3 years ago

Thanks Roberto!