Commit d71429b8 authored by François Grisez's avatar François Grisez

Fix build with Clang 10

parent b1dd5654
......@@ -94,12 +94,12 @@ static void create_vcard_from_api(void) {
fn->setValue("Sylvain Berfini");
belCard->setFullName(fn);
BC_ASSERT_TRUE(belCard->assertRFCCompliance());
BC_ASSERT_STRING_EQUAL(belCard->getFullName()->toString().c_str(), fn->toString().c_str());
BC_ASSERT(belCard->getFullName()->toString() == fn->toString());
fn = BelCard::create<BelCardFullName>();
fn->setValue("Belcard Tester");
belCard->setFullName(fn);
BC_ASSERT_STRING_EQUAL(belCard->getFullName()->toString().c_str(), fn->toString().c_str());
BC_ASSERT(belCard->getFullName()->toString() == fn->toString());
string vcard = belCard->toString();
BelCardParser *parser = new BelCardParser();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment