mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 10:08:41 +00:00
Backed out changeset dd79223a1f3a (bug 902485)
This commit is contained in:
parent
8d122f94f1
commit
a5517b6978
@ -1623,13 +1623,6 @@ public:
|
||||
void Destroy() {
|
||||
storage.addr()->~T();
|
||||
}
|
||||
|
||||
private:
|
||||
// Disallow the assignment operator, because we have no idea what the right
|
||||
// way to assign T is, and bitwise copying is likely to be wrong. Sadly,
|
||||
// we can't disallow copy-construction here, because we need to have no
|
||||
// constructor, since we're used in a union...
|
||||
void operator=(const UnionMember<T>& aOther) MOZ_DELETE;
|
||||
};
|
||||
|
||||
template<typename T>
|
||||
|
@ -6105,10 +6105,6 @@ ${methods}
|
||||
private:
|
||||
friend class ${structName}Argument;
|
||||
|
||||
// Disallow copy-construction and assignment
|
||||
${structName}(const ${structName}&) MOZ_DELETE;
|
||||
void operator=(const ${structName}&) MOZ_DELETE;
|
||||
|
||||
${destructors}
|
||||
|
||||
enum Type {
|
||||
@ -6232,10 +6228,6 @@ ${methods}
|
||||
JS::MutableHandle<JS::Value> rval) const;
|
||||
|
||||
private:
|
||||
// Disallow copy-construction and assignment
|
||||
${structName}ReturnValue(const ${structName}ReturnValue&) MOZ_DELETE;
|
||||
void operator=(const ${structName}ReturnValue&) MOZ_DELETE;
|
||||
|
||||
enum Type {
|
||||
eUninitialized,
|
||||
${enumValues}
|
||||
|
Loading…
x
Reference in New Issue
Block a user