Add end-of-line spaces checker

This commit is contained in:
SirLynix
2024-01-26 10:43:00 +01:00
parent 63c61c0827
commit 6757de1be8
90 changed files with 170 additions and 126 deletions

View File

@@ -37,7 +37,7 @@ namespace Nz
inline /*constexpr*/ Result<OpenModeFlags, std::string> File::DecodeOpenMode(std::string_view openModeStr)
{
OpenModeFlags openModes = 0;
if (openModeStr.find('r') != std::string_view::npos)
{
openModes |= OpenMode::Read;