From c0f8c589da5255e4db01e87e9990054ddfe94953 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 28 Mar 2004 23:19:35 +0000 Subject: [PATCH] header, use assert --- stepmania/PBProject/Installer/BuildInstaller.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/PBProject/Installer/BuildInstaller.cpp b/stepmania/PBProject/Installer/BuildInstaller.cpp index 9a1307f2e8..044c47e361 100644 --- a/stepmania/PBProject/Installer/BuildInstaller.cpp +++ b/stepmania/PBProject/Installer/BuildInstaller.cpp @@ -18,6 +18,7 @@ using namespace std; #include #include #include +#include #include "StdString.h" #include "InstallerFile.h" #include "Processor.h" @@ -74,7 +75,7 @@ const CString GetPath(const CString& ID) if (path[temp - 1] == '\n') path[temp - 1] = '\000'; } - ASSERT(ptr); + assert(ptr); while (*ptr != '\000' && (*ptr == ' ' || *ptr == '\t')) ++ptr; if (*ptr == '/')