mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 17:42:14 +00:00
Fix Linux build & some warnings (#6438)
* Fix linux deps debug build * Use the same DL_CACHE for release build when building debug version of deps on Linux. This prevents downloading the same source packages twice, and avoid downloading again after deleting the build dir. * Fix debug build * Fix warnings "loop variable creates a copy from type" and "loop variable binds to a temporary constructed from type"
This commit is contained in:
@@ -4846,7 +4846,7 @@ wxBoxSizer *ScoreDialog::get_photo_btn_sizer() {
|
||||
it = m_selected_image_list.erase(it);
|
||||
}
|
||||
m_image_url_paths.clear();
|
||||
for (const std::pair<wxStaticBitmap *, ImageMsg> &bitmap : m_image) {
|
||||
for (const auto& bitmap : m_image) {
|
||||
if (bitmap.second.is_uploaded) {
|
||||
if (!bitmap.second.img_url_paths.empty()) {
|
||||
m_image_url_paths.push_back(bitmap.second.img_url_paths);
|
||||
|
||||
Reference in New Issue
Block a user