Make some globals static that can be
External linkage does not help and just encourages sloppy dependencies and can lead to weird issues when there are name collisions.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
EhSolverCancelledException solver_cancelled;
|
||||
static EhSolverCancelledException solver_cancelled;
|
||||
|
||||
template<unsigned int N, unsigned int K>
|
||||
int Equihash<N,K>::InitialiseState(eh_HashState& base_state)
|
||||
|
||||
Reference in New Issue
Block a user