Bug 1022043 - Remove EventStates' copy constructor and assignment operator to make it trivially copyable so that it builds with clang-cl; r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2014-06-06 22:09:34 -04:00
parent 0d4e61e13c
commit ba4f4f80bf

View File

@ -38,17 +38,6 @@ public:
{
}
MOZ_CONSTEXPR EventStates(const EventStates& aEventStates)
: mStates(aEventStates.mStates)
{
}
EventStates& operator=(const EventStates& aEventStates)
{
mStates = aEventStates.mStates;
return *this;
}
EventStates MOZ_CONSTEXPR operator|(const EventStates& aEventStates) const
{
return EventStates(mStates | aEventStates.mStates);