Fix macOS build
This commit is contained in:
parent
0a5db4f843
commit
c6a5c2e72e
2 changed files with 2 additions and 2 deletions
|
@ -342,7 +342,7 @@ struct AudioFileListWidget : ImGuiWidget {
|
||||||
|
|
||||||
struct ghcFile {
|
struct ghcFile {
|
||||||
std::string full, base;
|
std::string full, base;
|
||||||
bool operator<(const ghcFile& other) noexcept { return base < other.base; }
|
bool operator<(const ghcFile& other) const noexcept { return base < other.base; }
|
||||||
};
|
};
|
||||||
std::string currentDirectory;
|
std::string currentDirectory;
|
||||||
std::vector<ghcFile> currentFiles;
|
std::vector<ghcFile> currentFiles;
|
||||||
|
|
|
@ -123,7 +123,7 @@ struct FileButton : MenuButton {
|
||||||
[=]() {patchUtils::setRemoteAutoDeploy(!autoDeploy);}
|
[=]() {patchUtils::setRemoteAutoDeploy(!autoDeploy);}
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
menu->addChild(createMenuItem("Connect to MOD", "", [this]() {
|
menu->addChild(createMenuItem("Connect to MOD", "", []() {
|
||||||
patchUtils::connectToRemote();
|
patchUtils::connectToRemote();
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue