delete Variant::same, implement same(CVarRef, CVarRef) in terms of tvSame

Step two.  Leaving the Variant::same methods as deleted for
now because I'm worried about the implicit conversion operators to
other types that support same.
Esse commit está contido em:
Jordan DeLong
2013-06-06 00:01:13 -07:00
commit de sgolemon
commit d8bddea335
12 arquivos alterados com 121 adições e 76 exclusões
+1 -1
Ver Arquivo
@@ -443,7 +443,7 @@ public:
virtual void dump(std::ostream &os);
/**
* Comparisons. Similar to serialize(), we implemented it here generically.
* Comparisons.
*/
int compare(const ArrayData *v2) const;
bool equal(const ArrayData *v2, bool strict) const;