[Misc] Replaced const with constexpr where possible
This commit is contained in:
committed by
Radosław Gliński
parent
d20620eb5e
commit
5f918ef28d
@@ -461,7 +461,7 @@ Emulator::FileSignatureType Emulator::GetFileSignature(
|
||||
}
|
||||
|
||||
const uint64_t file_size = std::filesystem::file_size(path);
|
||||
const int64_t header_size = 4;
|
||||
constexpr int64_t header_size = 4;
|
||||
|
||||
if (file_size < header_size) {
|
||||
return FileSignatureType::Unknown;
|
||||
|
||||
Reference in New Issue
Block a user