This commit is contained in:
Alessandro Ranellucci 2015-12-08 10:53:57 +01:00
parent 4913e90e10
commit 5cfa36f36e

View file

@ -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;
};