Skip to content

Commit f726efb

Browse files
committed
Add nodiscard to get_user_config_path
1 parent 95b3062 commit f726efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Core/Resources.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace App {
1111

1212
class Resources {
1313
public:
14-
static std::filesystem::path get_user_config_path() {
14+
[[nodiscard]] static std::filesystem::path get_user_config_path() {
1515
return SDL_GetPrefPath(COMPANY_NAMESPACE.c_str(), APP_NAME.c_str());
1616
}
1717

0 commit comments

Comments
 (0)