From 3f792c66afe6e6da9a99cf6e34b9a82a9b9197da Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sat, 17 Jun 2006 08:42:38 +0000 Subject: [PATCH] erase is a macro on certain hosts? Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2654 --- 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 42881792..ddf6dea6 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.80 2006-06-16 14:51:31 qbix79 Exp $ */ +/* $Id: debug.cpp,v 1.81 2006-06-17 08:42:38 qbix79 Exp $ */ #include "dosbox.h" #if C_DEBUG @@ -956,7 +956,7 @@ bool ParseCommand(char* str) { stream >> command; string::size_type next = s_found.find_first_not_of(' ',command.size()); if(next == string::npos) next = command.size(); - s_found.erase(0,next); + (s_found.erase)(0,next); found = const_cast(s_found.c_str()); if (command == "MEMDUMP") { // Dump memory to file