Skip to content
Browse files

Use empty() rather than size() for checking emptiness of containers.

  • Loading branch information...
1 parent 1e29318 commit 740a5ba69ee01f8264393266aaa02efabec31e2d @stuartm stuartm committed May 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/openglvideo.cpp
View
2 mythtv/libs/libmythtv/openglvideo.cpp
@@ -425,7 +425,7 @@ bool OpenGLVideo::AddFilter(OpenGLFilterType filter)
return true;
if (!(gl_features & kGLExtFBufObj) && (filter == kGLFilterResize) &&
- filters.size())
+ !filters.empty())
{
LOG(VB_PLAYBACK, LOG_ERR, LOC +
"GL_EXT_framebuffer_object not available "

0 comments on commit 740a5ba

Please sign in to comment.
Something went wrong with that request. Please try again.