disable optimization on functions building factories for many entries

this will speed up compilation and also avoid spurious warnings with gcc 4.4 and later
This commit is contained in:
Axel Kohlmeyer
2019-06-06 20:37:17 -04:00
parent 56e3b1d1f4
commit b53df3dd63
6 changed files with 34 additions and 9 deletions

View File

@ -172,6 +172,7 @@ class Modify : protected Pointers {
FixCreatorMap *fix_map;
protected:
void create_factories();
template <typename T> static Compute *compute_creator(LAMMPS *, int, char **);
template <typename T> static Fix *fix_creator(LAMMPS *, int, char **);
};