bertiniteam / b2

Bertini 2.0: The redevelopment of Bertini in C++.
93 stars 34 forks source link

warning: unqualified call to 'std::move' #173

Closed ofloveandhate closed 1 year ago

ofloveandhate commented 1 year ago
In file included from src/endgame_export.cpp:31:
In file included from ./include/endgame_export.hpp:33:
In file included from ./include/python_common.hpp:57:
In file included from /usr/local/include/bertini2/eigen_extensions.hpp:35:
In file included from /usr/local/include/bertini2/num_traits.hpp:40:
/usr/local/include/bertini2/random.hpp:233:7: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
                a = move(temp);
                    ^
                    std::
/usr/local/include/bertini2/random.hpp:259:7: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
                a = move(temp/sqrt(abs(temp)));
                    ^
                    std::
5 warnings generated.
ofloveandhate commented 1 year ago

done