Refactor graphics loading and decompression for consistency
- Updated various graphics loading functions to ensure consistent use of semicolons in ASSIGN_OR_RETURN statements. - Changed set_filename method in Rom class to accept std::string_view for improved efficiency. - Enhanced code readability and maintainability across multiple files by standardizing syntax.
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
if (!error_or_value.ok()) { \
|
||||
return error_or_value.status(); \
|
||||
} \
|
||||
type_variable_name = std::move(*error_or_value);
|
||||
type_variable_name = std::move(*error_or_value)
|
||||
|
||||
#define ASSIGN_OR_LOG_ERROR(type_variable_name, expression) \
|
||||
ASSIGN_OR_LOG_ERROR_IMPL(APPEND_NUMBER(error_or_value, __LINE__), \
|
||||
|
||||
Reference in New Issue
Block a user