зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1544216 Part 1 - use default keyword instead of empty constructors and destructors r=birtles
This commit is contained in:
Родитель
a14816abd2
Коммит
6956a00acf
|
@ -39,7 +39,7 @@ class SMILBoolType : public SMILType {
|
|||
|
||||
private:
|
||||
// Private constructor: prevent instances beyond my singleton.
|
||||
constexpr SMILBoolType() {}
|
||||
constexpr SMILBoolType() = default;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -125,7 +125,7 @@ class SMILCSSValueType : public SMILType {
|
|||
|
||||
private:
|
||||
// Private constructor: prevent instances beyond my singleton.
|
||||
constexpr SMILCSSValueType() {}
|
||||
constexpr SMILCSSValueType() = default;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -38,7 +38,6 @@ class SMILCompositor : public PLDHashEntryHdr {
|
|||
mKey(std::move(toMove.mKey)),
|
||||
mAnimationFunctions(std::move(toMove.mAnimationFunctions)),
|
||||
mForceCompositing(false) {}
|
||||
~SMILCompositor() {}
|
||||
|
||||
// PLDHashEntryHdr methods
|
||||
KeyTypeRef GetKey() const { return mKey; }
|
||||
|
|
|
@ -39,7 +39,7 @@ class SMILEnumType : public SMILType {
|
|||
|
||||
private:
|
||||
// Private constructor: prevent instances beyond my singleton.
|
||||
constexpr SMILEnumType() {}
|
||||
constexpr SMILEnumType() = default;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -39,7 +39,7 @@ class SMILFloatType : public SMILType {
|
|||
|
||||
private:
|
||||
// Private constructor: prevent instances beyond my singleton.
|
||||
constexpr SMILFloatType() {}
|
||||
constexpr SMILFloatType() = default;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -34,7 +34,7 @@ class SMILIntegerType : public SMILType {
|
|||
}
|
||||
|
||||
private:
|
||||
constexpr SMILIntegerType() {}
|
||||
constexpr SMILIntegerType() = default;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -39,7 +39,7 @@ class SMILNullType : public SMILType {
|
|||
|
||||
private:
|
||||
// Private constructor: prevent instances beyond my singleton.
|
||||
constexpr SMILNullType() {}
|
||||
constexpr SMILNullType() = default;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -39,7 +39,7 @@ class SMILStringType : public SMILType {
|
|||
|
||||
private:
|
||||
// Private constructor: prevent instances beyond my singleton.
|
||||
constexpr SMILStringType() {}
|
||||
constexpr SMILStringType() = default;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
|
Загрузка…
Ссылка в новой задаче