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 {
|
||||
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::vector<ghcFile> currentFiles;
|
||||
|
|
|
@ -123,7 +123,7 @@ struct FileButton : MenuButton {
|
|||
[=]() {patchUtils::setRemoteAutoDeploy(!autoDeploy);}
|
||||
));
|
||||
} else {
|
||||
menu->addChild(createMenuItem("Connect to MOD", "", [this]() {
|
||||
menu->addChild(createMenuItem("Connect to MOD", "", []() {
|
||||
patchUtils::connectToRemote();
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue