diff --git a/utils/config_file.hh b/utils/config_file.hh index 0c16e49bb0..d9e6e961dc 100644 --- a/utils/config_file.hh +++ b/utils/config_file.hh @@ -156,7 +156,7 @@ public: std::vector _allowed_values; protected: updateable_value_source& the_value() { - any_value* av =_cf->_per_shard_values[_cf->s_shard_id][_per_shard_values_offset].get(); + any_value* av = _cf->_per_shard_values[_cf->s_shard_id][_per_shard_values_offset].get(); return static_cast(av)->value; } const updateable_value_source& the_value() const {