Remove/make private the default ***Holder constructor to allow compile time detection...
authorDan Melnic <dmm@fb.com>
Mon, 3 Apr 2017 21:09:47 +0000 (14:09 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 3 Apr 2017 21:22:33 +0000 (14:22 -0700)
commita130b23ab3fc1c0895c29f3d73597ea465f20bc3
tree564db32babc92f3df22230c46c3544b97ba37152
parentbd0686484d15d1f36b04c23c2624bac49059220a
Remove/make private the default ***Holder constructor to allow compile time detection of ***Holder(mutexPtr_) constructs

Summary: Avoid unintended C++ stuff - this is not the same as the "fleeting rvalue" - this change might break the build but I will fix it

Reviewed By: yfeldblum

Differential Revision: D4814104

fbshipit-source-id: 058a0eac44893c573062fcf5665d4fd022ee64a0
folly/RWSpinLock.h
folly/SharedMutex.h
folly/detail/ThreadLocalDetail.cpp
folly/test/SharedMutexTest.cpp