From 9d4cfff8deb12ea9dc91fa5091eabf6df6be51c5 Mon Sep 17 00:00:00 2001 From: Craig Stuart Sapp Date: Wed, 13 Dec 2023 03:02:00 -0800 Subject: [PATCH] Convert "and" to "&&". --- src/iohumdrum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iohumdrum.cpp b/src/iohumdrum.cpp index 49f8abe3500..60248a0897a 100644 --- a/src/iohumdrum.cpp +++ b/src/iohumdrum.cpp @@ -4813,7 +4813,7 @@ void HumdrumInput::createComposerElements(pugi::xml_node work) appendText(deathDate, isodates[1]); } } - else if (!isodateBirth.empty() and !isodateDeath.empty()) { + else if (!isodateBirth.empty() && !isodateDeath.empty()) { pugi::xml_node birthDate = personInfo.append_child("birthDate"); birthDate.append_attribute("encoding") = "edtf"; appendText(birthDate, isodateBirth);