This patch adds a none-const variant of the get_single_value method and use that in the set_single_value method, which will reduce code duplication. This is also needed for a future change.
This patch adds a none-const variant of the get_single_value method and use that in the set_single_value method, which will reduce code duplication. This is also needed for a future change.