[Misc] Fix Some Warnings on Clang Build with Windows + Adding constexpr
This commit is contained in:
committed by
Radosław Gliński
parent
5f918ef28d
commit
7479ccc292
@@ -34,7 +34,7 @@ bool DiscZarchiveDevice::Initialize() {
|
||||
return false;
|
||||
}
|
||||
|
||||
const std::string root_path = std::string("/");
|
||||
constexpr std::string_view root_path = "/";
|
||||
const ZArchiveNodeHandle handle = reader_->LookUp(root_path);
|
||||
auto root_entry = new DiscZarchiveEntry(this, nullptr, root_path);
|
||||
root_entry->attributes_ = kFileAttributeDirectory;
|
||||
|
||||
Reference in New Issue
Block a user