Bug 1322465 part 12 - Use explicit/MOZ_IMPLICIT for the unary constructors in tools/. r=Ehsan

MozReview-Commit-ID: 5fp6E1T7HrW

--HG--
extra : rebase_source : 0fda130fa69d6c0a7e7f3d1838a22c4b5f6459b0
This commit is contained in:
Ting-Yu Chou 2016-12-16 16:36:44 +08:00
parent 10ea845c91
commit 8a91298c2f

View File

@ -49,7 +49,8 @@ class PlatformData {
// going to use it in the sampler thread. Using GetThreadHandle() will
// not work in this case. We're using OpenThread because DuplicateHandle
// for some reason doesn't work in Chrome's sandbox.
PlatformData(int aThreadId) : profiled_thread_(OpenThread(THREAD_GET_CONTEXT |
explicit PlatformData(int aThreadId) : profiled_thread_(OpenThread(
THREAD_GET_CONTEXT |
THREAD_SUSPEND_RESUME |
THREAD_QUERY_INFORMATION,
false,