diff --git a/xs/src/libslic3r/Config.hpp b/xs/src/libslic3r/Config.hpp index d4700d3f4..8f94ceda6 100644 --- a/xs/src/libslic3r/Config.hpp +++ b/xs/src/libslic3r/Config.hpp @@ -58,7 +58,7 @@ class ConfigOptionVector : public ConfigOptionVectorBase std::vector<T> values; void set(const ConfigOption &option) { - const const ConfigOptionVector<T>* other = dynamic_cast< const ConfigOptionVector<T>* >(&option); + const ConfigOptionVector<T>* other = dynamic_cast< const ConfigOptionVector<T>* >(&option); if (other != NULL) this->values = other->values; };