summaryrefslogtreecommitdiff
path: root/benchmarks/pthread_benchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/pthread_benchmark.cpp')
-rw-r--r--benchmarks/pthread_benchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/pthread_benchmark.cpp b/benchmarks/pthread_benchmark.cpp
index 09654c825..9a68a12d0 100644
--- a/benchmarks/pthread_benchmark.cpp
+++ b/benchmarks/pthread_benchmark.cpp
@@ -100,7 +100,7 @@ namespace {
struct PIMutex {
pthread_mutex_t mutex;
- PIMutex(int type) {
+ explicit PIMutex(int type) {
pthread_mutexattr_t attr;
pthread_mutexattr_init(&attr);
pthread_mutexattr_settype(&attr, type);