You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix Array and Dictionary id() and dictionary test bug
(cherry picked from commit e2ed9d13eb)
This commit is contained in:
committed by
Rémi Verschelde
parent
5b240d833a
commit
dd57c321bf
@@ -474,7 +474,7 @@ Variant Array::max() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const void *Array::id() const {
|
const void *Array::id() const {
|
||||||
return _p->array.ptr();
|
return _p;
|
||||||
}
|
}
|
||||||
|
|
||||||
Array::Array(const Array &p_from) {
|
Array::Array(const Array &p_from) {
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ void Dictionary::operator=(const Dictionary &p_dictionary) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const void *Dictionary::id() const {
|
const void *Dictionary::id() const {
|
||||||
return _p->variant_map.id();
|
return _p;
|
||||||
}
|
}
|
||||||
|
|
||||||
Dictionary::Dictionary(const Dictionary &p_from) {
|
Dictionary::Dictionary(const Dictionary &p_from) {
|
||||||
|
|||||||
Reference in New Issue
Block a user