Skip to content

Commit 6fc079e

Browse files
psumberam6w6
authored andcommitted
Fix ambiguous mutex reference by explicitly using std::mutex (fixes Solaris build)
1 parent aa0a58d commit 6fc079e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lib/random.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# include <unistd.h> // getpid()
66
#endif
77
mt19937_64 rnd_eng;
8-
mutex rnd_mtx;
8+
std::mutex rnd_mtx;
99

1010
void random_setup() {
1111
using namespace chrono;

0 commit comments

Comments
 (0)