commit | 72c4af43786bbea6896008ecd4b81439c40917ff | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Mon Nov 29 14:40:17 2021 -0600 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Jan 04 15:41:58 2022 +0000 |
tree | e51d5f41b5420cd4cb6bd1afdc6b8081a9e4ac7c | |
parent | 075fcd858f1bfb4ba8ca5cc41526495bf3df166a [diff] |
control: Delete a parameter when nullopt is used This commit changes the Manager::setParameter function to take a std::optional. When std::nullopt is passed in, the parameter is deleted. This removes the need for a separate deleteParameter function and simplifies a code path that uses it. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ia32bc0e977245bd7d06b8d12c0cdfd79b981e4ba