Delete a couple functions in ArrayData

If you are dealing with const StringData*'s, they convert to
bools and call CVarRef overloads here.  (I'm sure there's others, and
this conversion for CVarRef should go away soon, but we might as well
have this for now to possibly catch bugs ahead of time.)
Esse commit está contido em:
Jordan DeLong
2013-06-22 02:04:22 -07:00
commit de Sara Golemon
commit e08d0ca2b1
+2
Ver Arquivo
@@ -301,8 +301,10 @@ public:
ArrayData *getLvalPtr(CStrRef k, Variant *&ret, bool copy);
ArrayData *set(CStrRef k, CVarRef v, bool copy);
ArrayData *set(CVarRef k, CVarRef v, bool copy);
ArrayData *set(const StringData*, CVarRef, bool) = delete;
ArrayData *setRef(CStrRef k, CVarRef v, bool copy);
ArrayData *setRef(CVarRef k, CVarRef v, bool copy);
ArrayData *setRef(const StringData*, CVarRef, bool) = delete;
ArrayData *add(CStrRef k, CVarRef v, bool copy);
ArrayData *add(CVarRef k, CVarRef v, bool copy);
ArrayData *addLval(CStrRef k, Variant *&ret, bool copy);