summaryrefslogtreecommitdiffstats
path: root/src/common/Thread.h
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2015-04-01 18:25:27 +0200
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2015-04-15 12:34:50 +0200
commitd508510d708762ab95e6e20814e14269ad1320a6 (patch)
tree52650ea1c5c8921cae476aa075a3556fb3f0f42d /src/common/Thread.h
parentcls_rbd.cc: reduce scope of local variable (diff)
downloadceph-d508510d708762ab95e6e20814e14269ad1320a6.tar.xz
ceph-d508510d708762ab95e6e20814e14269ad1320a6.zip
common/Thread.h: mark copy/move ctor as explicit
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Diffstat (limited to 'src/common/Thread.h')
-rw-r--r--src/common/Thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Thread.h b/src/common/Thread.h
index 26c3d07c8c9..edc2a0a5970 100644
--- a/src/common/Thread.h
+++ b/src/common/Thread.h
@@ -29,7 +29,7 @@ class Thread {
void *entry_wrapper();
public:
- Thread(const Thread& other);
+ explicit Thread(const Thread& other);
const Thread& operator=(const Thread& other);
Thread();