Changed some code showed in LGTM and Coverage
This commit is contained in:
parent
584ca0f156
commit
6cbaf7662f
55 changed files with 94 additions and 202 deletions
|
|
@ -1834,8 +1834,6 @@ inline DA _convert_array_from_variant(const Variant &p_variant) {
|
|||
return DA();
|
||||
}
|
||||
}
|
||||
|
||||
return DA();
|
||||
}
|
||||
|
||||
Variant::operator Array() const {
|
||||
|
|
@ -2299,7 +2297,7 @@ Variant::Variant(const Object *p_object) {
|
|||
Variant::Variant(const Dictionary &p_dictionary) {
|
||||
|
||||
type = DICTIONARY;
|
||||
memnew_placement(_data._mem, (Dictionary)(p_dictionary));
|
||||
memnew_placement(_data._mem, Dictionary(p_dictionary));
|
||||
}
|
||||
|
||||
Variant::Variant(const Array &p_array) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue