commit | 42428059687d918bcd6388e904873c9a762a11c5 | [log] [tgz] |
---|---|---|
author | Matthew Barth <msbarth@us.ibm.com> | Tue Mar 30 12:50:59 2021 -0500 |
committer | Matthew Barth <msbarth@us.ibm.com> | Thu Jun 10 14:01:24 2021 -0500 |
tree | ab2bfcb76e23ab3d0f4291ec9c4fab36ed879748 | |
parent | cfad2a534645fed8035935b0b7588f256a02ee22 [diff] |
control: Handle empty profiles for configuration objects An empty list of profiles for a configuration object should result in the object being created. The std::any_of function returns false if the range is empty which would have resulted in the object not being created where we want it created when there's no profiles defined restricting the object's usage in fan control. Change-Id: I4800002294334241e090a0efefc5f71bec752198 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>