commit | 7f53a0374dfc1d543daf63aaa26ef3a739451ecc | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Tue May 04 11:18:21 2021 +0800 |
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Mon Jun 14 10:49:25 2021 +0000 |
tree | d8361a5c58e3b986cbd7788cd6af395c7748e405 | |
parent | cc9a575399bfcdb42f4ec3b78d840ca06f48ad58 [diff] |
Replace find method with contains method - The intent behind of this commit is to replace the `find` method with the `contains` method. - `contains` is a new feature of C++20, it will check if there is an element with key equivalent to key in the container and return true or false. Tested: built ledManager repo successfully and CI passed. Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I09121154983defe051c48e6470a976c5b229a2e7