Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2019-09-17 17:59:52 +0300
committerVojtech Kral <vojtech@kral.hk>2019-09-17 18:16:15 +0300
commit107ff6fd3618e8a468aacb90903f4cc09ca65f49 (patch)
tree59794390a940aa4907a00f27e7c4a274e46b992e /src/slic3r/GUI/ConfigWizard_private.hpp
parentcb1ee5ce5542bc96a8babdb45ed3264bbb2a0855 (diff)
Materials: Cleanup
Diffstat (limited to 'src/slic3r/GUI/ConfigWizard_private.hpp')
-rw-r--r--src/slic3r/GUI/ConfigWizard_private.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slic3r/GUI/ConfigWizard_private.hpp b/src/slic3r/GUI/ConfigWizard_private.hpp
index 6c94d3700..3f688adff 100644
--- a/src/slic3r/GUI/ConfigWizard_private.hpp
+++ b/src/slic3r/GUI/ConfigWizard_private.hpp
@@ -90,7 +90,6 @@ struct Materials
struct Bundle
{
- fs::path source_path; // XXX: not needed?
std::unique_ptr<PresetBundle> preset_bundle;
VendorProfile *vendor_profile;
const bool is_in_resources;
@@ -235,7 +234,7 @@ template<class T, class D> struct DataList : public T
}
int find(const D &data) {
- for (int i = 0; i < this->GetCount(); i++) {
+ for (unsigned i = 0; i < this->GetCount(); i++) {
if (get_data(i) == data) { return i; }
}