libcamera: yaml_parser: Remove memberNames() function
Now that YamlObject supports iteration, the memberNames() function isn't useful anymore as it can be implemented using utils::map_keys() if really needed. Drop it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Han-Lin Chen <hanlinchen@chromium.org>
This commit is contained in:
parent
12bf404147
commit
9dacead615
3 changed files with 0 additions and 33 deletions
|
@ -500,16 +500,6 @@ protected:
|
|||
/* Make sure utils::map_keys() works on the adapter. */
|
||||
(void)utils::map_keys(dictObj.asDict());
|
||||
|
||||
auto memeberNames = dictObj.memberNames();
|
||||
sort(memeberNames.begin(), memeberNames.end());
|
||||
|
||||
if (memeberNames[0] != "a" ||
|
||||
memeberNames[1] != "b" ||
|
||||
memeberNames[2] != "c") {
|
||||
cerr << "Dictionary object fail to parse member names" << std::endl;
|
||||
return TestFail;
|
||||
}
|
||||
|
||||
/* Test leveled objects */
|
||||
auto &level1Obj = (*root)["level1"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue