Add a missing semicolon in the definition of isNPOS in main.cpp

This commit is contained in:
Username404-59 2021-10-14 23:28:58 +02:00
parent 0b20c24eba
commit cd8b14e00b
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ int main(int argc, char* argv[]) {
} catch (const Yerbacon::Exception& error) { } catch (const Yerbacon::Exception& error) {
unsigned long lastSlash = 0; unsigned long lastSlash = 0;
const unsigned long position1 = fileName.find_last_of('/'); const unsigned long position1 = fileName.find_last_of('/');
const bool isNPOS = cmp_equal(position1, string_view::npos) const bool isNPOS = cmp_equal(position1, string_view::npos);
if constexpr(filesystem::path::preferred_separator == '/') { if constexpr(filesystem::path::preferred_separator == '/') {
if (not isNPOS) { if (not isNPOS) {
lastSlash = position1; lastSlash = position1;