mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
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:
parent
0d4e61e13c
commit
ba4f4f80bf
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user