You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
[Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
@@ -156,7 +156,7 @@ public:
|
||||
}
|
||||
|
||||
_FORCE_INLINE_ DataType get_container_element_type() const {
|
||||
ERR_FAIL_COND_V(container_element_type == nullptr, DataType());
|
||||
ERR_FAIL_NULL_V(container_element_type, DataType());
|
||||
return *container_element_type;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user