mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 15:35:55 +08:00
Fixing compiler warnings: Fixed broken Linux build.
This commit is contained in:
parent
f61119e02f
commit
a5972e64fa
@ -203,7 +203,7 @@ namespace search_for_drives_internal
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if ! __APPLE__
|
||||||
static void search_path(const std::string &path, const std::string &parent_path, std::vector<DriveData> &out)
|
static void search_path(const std::string &path, const std::string &parent_path, std::vector<DriveData> &out)
|
||||||
{
|
{
|
||||||
glob_t globbuf;
|
glob_t globbuf;
|
||||||
@ -218,7 +218,7 @@ namespace search_for_drives_internal
|
|||||||
}
|
}
|
||||||
globfree(&globbuf);
|
globfree(&globbuf);
|
||||||
}
|
}
|
||||||
#endif
|
#endif // ! __APPLE__
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<DriveData> RemovableDriveManager::search_for_removable_drives() const
|
std::vector<DriveData> RemovableDriveManager::search_for_removable_drives() const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user