From cd060ef6d690cc0329d93f06a7c1c3cedcc6571c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 6 Jun 2004 21:06:03 +0000 Subject: [PATCH] remove overload that doesn't allow error checking--makes it too easy to be lazy --- stepmania/src/RageFile.cpp | 7 ------- stepmania/src/RageFile.h | 1 - 2 files changed, 8 deletions(-) diff --git a/stepmania/src/RageFile.cpp b/stepmania/src/RageFile.cpp index 2021601aa9..aaef4d2dae 100644 --- a/stepmania/src/RageFile.cpp +++ b/stepmania/src/RageFile.cpp @@ -180,13 +180,6 @@ int RageFile::GetLine( CString &out ) return GotData? 1:0; } -CString RageFile::GetLine() -{ - CString ret; - GetLine( ret ); - return ret; -} - // Always use "\r\n". Even though the program may be running on Unix, the // files written to a memory card are likely to be edited using Windows. //#if defined(_WIN32) diff --git a/stepmania/src/RageFile.h b/stepmania/src/RageFile.h index 4e6c2607ab..76e66815f5 100644 --- a/stepmania/src/RageFile.h +++ b/stepmania/src/RageFile.h @@ -68,7 +68,6 @@ public: int Seek( int offset, int whence ); /* Line-based I/O: */ - CString GetLine(); int GetLine( CString &out ); int PutLine( const CString &str );