summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/fs_path_utility.h
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2024-02-19 19:22:51 +0100
committerFearlessTobi <thm.frey@gmail.com>2024-02-19 19:22:51 +0100
commitef5027712413705802d10c797b0f0b66375a9f58 (patch)
tree979cf4d365ca5d7f0e63abdd3ecf476f93d4b21b /src/core/file_sys/fs_path_utility.h
parentAddress review comments (diff)
downloadyuzu-ef5027712413705802d10c797b0f0b66375a9f58.tar
yuzu-ef5027712413705802d10c797b0f0b66375a9f58.tar.gz
yuzu-ef5027712413705802d10c797b0f0b66375a9f58.tar.bz2
yuzu-ef5027712413705802d10c797b0f0b66375a9f58.tar.lz
yuzu-ef5027712413705802d10c797b0f0b66375a9f58.tar.xz
yuzu-ef5027712413705802d10c797b0f0b66375a9f58.tar.zst
yuzu-ef5027712413705802d10c797b0f0b66375a9f58.zip
Diffstat (limited to 'src/core/file_sys/fs_path_utility.h')
-rw-r--r--src/core/file_sys/fs_path_utility.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/file_sys/fs_path_utility.h b/src/core/file_sys/fs_path_utility.h
index 51418ee16..cdfd8c772 100644
--- a/src/core/file_sys/fs_path_utility.h
+++ b/src/core/file_sys/fs_path_utility.h
@@ -91,12 +91,8 @@ public:
}
#define DECLARE_PATH_FLAG_HANDLER(__WHICH__) \
- constexpr bool Is##__WHICH__##Allowed() const { \
- return (m_value & __WHICH__##Flag) != 0; \
- } \
- constexpr void Allow##__WHICH__() { \
- m_value |= __WHICH__##Flag; \
- }
+ constexpr bool Is##__WHICH__##Allowed() const { return (m_value & __WHICH__##Flag) != 0; } \
+ constexpr void Allow##__WHICH__() { m_value |= __WHICH__##Flag; }
DECLARE_PATH_FLAG_HANDLER(WindowsPath)
DECLARE_PATH_FLAG_HANDLER(RelativePath)