зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1448027 - make constructors in the profiler explicit; r=mstange
Attempting to stand up the static analysis for Android builds revealed that we weren't being explicit enough.
This commit is contained in:
Родитель
052d391b9c
Коммит
60e1125026
|
@ -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 {
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче