remove overload that doesn't allow error checking--makes it too easy to be lazy
This commit is contained in:
@@ -180,13 +180,6 @@ int RageFile::GetLine( CString &out )
|
|||||||
return GotData? 1:0;
|
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
|
// 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.
|
// files written to a memory card are likely to be edited using Windows.
|
||||||
//#if defined(_WIN32)
|
//#if defined(_WIN32)
|
||||||
|
|||||||
@@ -68,7 +68,6 @@ public:
|
|||||||
int Seek( int offset, int whence );
|
int Seek( int offset, int whence );
|
||||||
|
|
||||||
/* Line-based I/O: */
|
/* Line-based I/O: */
|
||||||
CString GetLine();
|
|
||||||
int GetLine( CString &out );
|
int GetLine( CString &out );
|
||||||
int PutLine( const CString &str );
|
int PutLine( const CString &str );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user