Backed out changeset dd79223a1f3a (bug 902485)

This commit is contained in:
Ed Morley 2013-08-07 15:50:19 -07:00
parent 8d122f94f1
commit a5517b6978
2 changed files with 0 additions and 15 deletions

View File

@ -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>

View File

@ -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}