Fix macOS build

This commit is contained in:
falkTX 2022-02-02 00:09:18 +00:00
parent 0a5db4f843
commit c6a5c2e72e
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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();
})); }));
} }