From 7dc248bec901bd1d179f06cc70b30a0bf2f449d8 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sun, 1 Feb 2009 20:25:38 +0000 Subject: [PATCH] Mini optimalisation. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3296 --- src/debug/debug.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debug/debug.cpp b/src/debug/debug.cpp index 9a4e8b08..e235ecab 100644 --- a/src/debug/debug.cpp +++ b/src/debug/debug.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: debug.cpp,v 1.94 2008-06-02 17:26:59 qbix79 Exp $ */ +/* $Id: debug.cpp,v 1.95 2009-02-01 20:25:38 qbix79 Exp $ */ #include "dosbox.h" #if C_DEBUG @@ -2117,7 +2117,7 @@ static void OutputVecTable(char* filename) { #define DEBUG_VAR_BUF_LEN 16 static void DrawVariables(void) { - if (CDebugVar::varList.size()==0) return; + if (CDebugVar::varList.empty()) return; std::list::iterator i; CDebugVar *dv;