diff --git a/samples/propgrid/tests.cpp b/samples/propgrid/tests.cpp index 4926e2f4e5..07e539d172 100644 --- a/samples/propgrid/tests.cpp +++ b/samples/propgrid/tests.cpp @@ -1058,7 +1058,7 @@ bool FormMain::RunTests( bool fullTest, bool interactive ) arr.Add((void*)*it); } - if ( arr.GetCount() ) + if ( !arr.empty() ) { size_t n; @@ -1394,7 +1394,7 @@ bool FormMain::RunTests( bool fullTest, bool interactive ) bool retVal; - if ( failures || errorMessages.size() ) + if ( failures || !errorMessages.empty() ) { retVal = false;