Fix warning in clang

This commit is contained in:
Linquize 2020-02-17 00:54:20 +08:00
parent 089d3fcfff
commit 047910b0e5

View File

@ -42,7 +42,7 @@ Cell::~Cell()
void Cell::setFonts(FontMapPtr pFontMap)
{
_pFontMap = pFontMap;
if (_pFontMap) poco_assert(_pFontMap->size() == 4);
poco_assert(!_pFontMap || (_pFontMap->size() == 4));
}