mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 09:17:52 -06:00
Fixing some compiler warnings on Linux
This commit is contained in:
parent
cbee82dc95
commit
5449e6c549
4 changed files with 10 additions and 8 deletions
|
@ -676,7 +676,7 @@ namespace Slic3r {
|
|||
// select the geometry associated with the original model object
|
||||
const Geometry* geometry = nullptr;
|
||||
for (const IdToModelObjectMap::value_type& object : m_objects) {
|
||||
if (static_cast<int>(object.second) == i) {
|
||||
if (object.second == int(i)) {
|
||||
IdToGeometryMap::const_iterator obj_geometry = m_geometries.find(object.first);
|
||||
if (obj_geometry == m_geometries.end()) {
|
||||
add_error("Unable to find object geometry");
|
||||
|
@ -1875,7 +1875,6 @@ namespace Slic3r {
|
|||
}
|
||||
else {
|
||||
std::cout << "non-single instance !!!\n";
|
||||
int a = 0;
|
||||
}
|
||||
}
|
||||
#endif // ENABLE_RELOAD_FROM_DISK_FOR_3MF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue