You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Core: Add [[nodiscard]] to string-like classes
This commit is contained in:
@@ -1195,7 +1195,7 @@ String ResourceLoaderBinary::recognize_script_class(Ref<FileAccess> p_f) {
|
||||
return "";
|
||||
}
|
||||
|
||||
get_unicode_string(); // type
|
||||
_ALLOW_DISCARD_ get_unicode_string(); // type
|
||||
|
||||
f->get_64(); // Metadata offset
|
||||
uint32_t flags = f->get_32();
|
||||
|
||||
Reference in New Issue
Block a user