mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1142376 - Allow copying of mozilla::Pair objects. r=waldo
This commit is contained in:
parent
fcab02dc69
commit
b92fe7e589
@ -164,6 +164,8 @@ public:
|
||||
: Base(Move(aOther.first()), Move(aOther.second()))
|
||||
{ }
|
||||
|
||||
Pair(const Pair& aOther) = default;
|
||||
|
||||
/** The A instance. */
|
||||
using Base::first;
|
||||
/** The B instance. */
|
||||
@ -171,9 +173,6 @@ public:
|
||||
|
||||
/** Swap this pair with another pair. */
|
||||
void swap(Pair& aOther) { Base::swap(aOther); }
|
||||
|
||||
private:
|
||||
Pair(const Pair&) = delete;
|
||||
};
|
||||
|
||||
template<typename A, class B>
|
||||
|
Loading…
Reference in New Issue
Block a user