Skip to content

Commit

Permalink
Do not use reference with auto type.
Browse files Browse the repository at this point in the history
  • Loading branch information
klei1984 committed May 18, 2024
1 parent 52e7882 commit 117f2be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resource_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ static SDL_AssertState SDLCALL ResourceManager_AssertionHandler(const SDL_Assert
static void ResourceManager_LogOutputHandler(void *userdata, int category, SDL_LogPriority priority,
const char *message);

static inline std::filesystem::path &ResourceManager_GetResourcePath(ResourceType type) {
auto &path{ResourceManager_FilePathGameData};
static inline std::filesystem::path ResourceManager_GetResourcePath(ResourceType type) {
auto path{ResourceManager_FilePathGameData};

switch (type) {
case ResourceType_GameBase: {
Expand Down

0 comments on commit 117f2be

Please sign in to comment.