mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Trying to fix the remaining OSX warnings
This commit is contained in:
parent
05a6cfeaea
commit
8049dd1f72
7 changed files with 27 additions and 6 deletions
|
@ -648,7 +648,12 @@ void FirmwareDialog::priv::perform_upload()
|
|||
}
|
||||
}
|
||||
})
|
||||
.on_message([extra_verbose, q](const char* msg, unsigned /* size */) {
|
||||
.on_message([
|
||||
#ifndef __APPLE__
|
||||
// clang complains when capturing constants.
|
||||
extra_verbose,
|
||||
#endif // __APPLE__
|
||||
q](const char* msg, unsigned /* size */) {
|
||||
if (extra_verbose) {
|
||||
BOOST_LOG_TRIVIAL(debug) << "avrdude: " << msg;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue