fix: Properly clear all global registries

This commit is contained in:
WerWolv
2023-06-30 13:40:16 +02:00
parent bc98556897
commit f9909dab98
3 changed files with 9 additions and 8 deletions

View File

@@ -460,7 +460,7 @@ namespace hex {
* @brief Gets the current custom font path
* @return The current custom font path
*/
const std::filesystem::path &getCustomFontPath();
std::filesystem::path &getCustomFontPath();
/**
* @brief Gets the current font size
@@ -486,7 +486,7 @@ namespace hex {
* @brief Gets the currently set additional folder paths
* @return The currently set additional folder paths
*/
const std::vector<std::filesystem::path> &getAdditionalFolderPaths();
std::vector<std::filesystem::path> &getAdditionalFolderPaths();
/**
* @brief Sets the additional folder paths