Browse Source

Fix macOS build

tags/22.02
falkTX 3 years ago
parent
commit
c6a5c2e72e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      plugins/Cardinal/src/AudioFile.cpp
  2. +1
    -1
      src/override/MenuBar.cpp

+ 1
- 1
plugins/Cardinal/src/AudioFile.cpp 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;


+ 1
- 1
src/override/MenuBar.cpp 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();
})); }));
} }


Loading…
Cancel
Save