Get rid of easily removable uses of const_cast

This commit is contained in:
rune-scape 2024-07-29 21:23:12 -07:00 committed by rune-scape
parent 893bbdfde8
commit d58b2e879f
69 changed files with 342 additions and 306 deletions

View file

@ -75,15 +75,15 @@ private:
String filename;
};
HashMap<String, String> font_aliases;
List<FontInfo> fonts;
HashSet<String> font_names;
bool font_config_loaded = false;
mutable HashMap<String, String> font_aliases;
mutable List<FontInfo> fonts;
mutable HashSet<String> font_names;
mutable bool font_config_loaded = false;
GodotJavaWrapper *godot_java = nullptr;
GodotIOJavaWrapper *godot_io_java = nullptr;
void _load_system_font_config();
void _load_system_font_config() const;
String get_system_property(const char *key) const;
public: