diff --git a/tools/profiler/core/EHABIStackWalk.cpp b/tools/profiler/core/EHABIStackWalk.cpp index 82ce0e085cf7..df9c797e860a 100644 --- a/tools/profiler/core/EHABIStackWalk.cpp +++ b/tools/profiler/core/EHABIStackWalk.cpp @@ -82,7 +82,7 @@ public: bool unwind(const EHEntry *aEntry, const void *stackBase); uint32_t &operator[](int i) { return mRegs[i]; } const uint32_t &operator[](int i) const { return mRegs[i]; } - EHState(const mcontext_t &); + explicit EHState(const mcontext_t &); }; enum { diff --git a/tools/profiler/lul/AutoObjectMapper.h b/tools/profiler/lul/AutoObjectMapper.h index 93a03a7fb59b..338cd7c6593a 100644 --- a/tools/profiler/lul/AutoObjectMapper.h +++ b/tools/profiler/lul/AutoObjectMapper.h @@ -86,7 +86,7 @@ private: class MOZ_STACK_CLASS AutoObjectMapperFaultyLib : public AutoObjectMapperPOSIX { public: - AutoObjectMapperFaultyLib(void(*aLog)(const char*)); + explicit AutoObjectMapperFaultyLib(void(*aLog)(const char*)); ~AutoObjectMapperFaultyLib();