fix: MacOS build error
This commit is contained in:
parent
1785088456
commit
9b77d7b5e2
@ -187,8 +187,8 @@ namespace hex::fs {
|
|||||||
|
|
||||||
std::vector<std::fs::path> paths = { applicationSupportDir };
|
std::vector<std::fs::path> paths = { applicationSupportDir };
|
||||||
|
|
||||||
if (exePath)
|
if (exePath.has_value()
|
||||||
paths.push_back(exePath);
|
paths.push_back(exePath.value());
|
||||||
|
|
||||||
switch (path) {
|
switch (path) {
|
||||||
case ImHexPath::Patterns:
|
case ImHexPath::Patterns:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user