Skip to content

Commit

Permalink
Fix Windows building
Browse files Browse the repository at this point in the history
  • Loading branch information
netheril96 committed Feb 28, 2024
1 parent b1ae3a6 commit aee9886
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "platform.h"
#include "win_get_proc.h"

#include <absl/strings/match.h>
#include <absl/strings/str_format.h>
#include <absl/types/optional.h>
#include <argon2.h>
Expand Down Expand Up @@ -1070,7 +1071,7 @@ class MountCommand : public _SinglePasswordCommandBase
}
static bool is_network_mount(absl::string_view mount_point)
{
return mount_point.starts_with("\\\\") && !mount_point.starts_with("\\\\?\\");
return absl::StartsWith(mount_point, "\\\\") && !absl::StartsWith(mount_point, "\\\\?\\");
}
#endif

Expand Down

0 comments on commit aee9886

Please sign in to comment.