Remove VintfObject::checkCompatibility(vector<string>)
Remove the variant of checkCompatibility that takes VINTF metadata
from an update package. This operation is deprecated.
Test: libvintf_test
Test: vintf_object_test
Bug: 139300422
Change-Id: I16d01a266266d108dbe24715f7b9b342804f9837
diff --git a/main.cpp b/main.cpp
index 95bc042..70433b9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -313,8 +313,8 @@
}
{
- auto compatible = VintfObject::CheckCompatibility({}, &error);
- std::cout << "VintfObject::CheckCompatibility? "
+ auto compatible = VintfObject::GetInstance()->checkCompatibility(&error);
+ std::cout << "VintfObject::checkCompatibility? "
<< compatibleString(compatible);
if (compatible != COMPATIBLE) std::cout << ", " << error;
std::cout << std::endl;