Author: pschweitzer
Date: Sun Mar 17 13:35:17 2013
New Revision: 58536
URL:
http://svn.reactos.org/svn/reactos?rev=58536&view=rev
Log:
[KSPROXY]
Efficiently check for vector emptyness
Modified:
trunk/reactos/dll/directx/ksproxy/output_pin.cpp
Modified: trunk/reactos/dll/directx/ksproxy/output_pin.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ksproxy/output…
==============================================================================
--- trunk/reactos/dll/directx/ksproxy/output_pin.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ksproxy/output_pin.cpp [iso-8859-1] Sun Mar 17 13:35:17
2013
@@ -1676,7 +1676,7 @@
assert(m_hPin != INVALID_HANDLE_VALUE);
// get all supported sets
- if (m_Plugins.size() == 0)
+ if (m_Plugins.empty())
{
if (GetSupportedSets(&pGuid, &NumGuids))
{