[KSPROXY]

Efficiently check for vector emptyness

svn path=/trunk/; revision=58536
This commit is contained in:
Pierre Schweitzer 2013-03-17 13:35:17 +00:00
parent 58a33cba17
commit 30c46c7dc9

View file

@ -1676,7 +1676,7 @@ COutputPin::Connect(IPin *pReceivePin, const AM_MEDIA_TYPE *pmt)
assert(m_hPin != INVALID_HANDLE_VALUE);
// get all supported sets
if (m_Plugins.size() == 0)
if (m_Plugins.empty())
{
if (GetSupportedSets(&pGuid, &NumGuids))
{