Refactoring/remove warnings 1
Most of the warning have been removed. Most of, if not all, the remaining ones are:
In file included from /home/pellegrini/git/nsxtool/build/include/nsxlib/ChemistryTypes.h:9:0,
from /home/pellegrini/git/nsxtool/build/include/nsxlib/IsotopeDatabaseManager.h:11,
from /home/pellegrini/git/nsxtool/tests/chemistry/TestIsotopeDatabase.cpp:1:
/home/pellegrini/git/nsxtool/build/include/nsxlib/Variant.h: In instantiation of ‘const T& nsx::Variant<Args>::as() const [with T = std::complex<double>; Args = {bool, int, double, std::complex<double>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]’:
/home/pellegrini/git/nsxtool/build/include/nsxlib/IsotopeDatabaseManager.h:50:50: required from ‘T nsx::IsotopeDatabaseManager::getProperty(const string&, const string&) const [with T = std::complex<double>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/home/pellegrini/git/nsxtool/tests/chemistry/TestIsotopeDatabase.cpp:12:5: required from here
/home/pellegrini/git/nsxtool/build/include/nsxlib/Variant.h:332:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
return *reinterpret_cast<const T*>(_storage);