From 776a3f14f2d987312b926ebc1ad09321a3a87f0d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 Jun 2015 10:06:49 +0200 Subject: convert expressions like 'size() == 0' to 'empty()' Change-Id: Ia5c8c0f38a347f398d587970a22e03f29ffd37af --- canvas/source/directx/dx_9rm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'canvas') diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx index dbd260141cc2..63e12b79b2d5 100644 --- a/canvas/source/directx/dx_9rm.cxx +++ b/canvas/source/directx/dx_9rm.cxx @@ -1225,7 +1225,7 @@ namespace dxcanvas void DXRenderModule::flushVertexCache() { - if(!(maVertexCache.size())) + if(maVertexCache.empty()) return; mbError=true; -- cgit