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