- Fixed some logic errors with assertions for wide vs. byte files.
- Changed getline and getwline to use gets instead of the experimental functions. These, in theory, will be slightly faster.
This commit is contained in:
@@ -250,9 +250,6 @@ public:
|
||||
|
||||
// Binary Read Operations ==============================================================================================
|
||||
|
||||
char getc();
|
||||
wchar_t getwc();
|
||||
|
||||
size_t read(void* data, size_t size, size_t n);
|
||||
|
||||
template<typename T>
|
||||
@@ -265,9 +262,6 @@ public:
|
||||
return read(static_cast<void*>(data), sizeof(T), n);
|
||||
}
|
||||
|
||||
string getline();
|
||||
wstring getwline();
|
||||
|
||||
|
||||
// Binary Write Operations =============================================================================================
|
||||
|
||||
@@ -297,6 +291,15 @@ public:
|
||||
}
|
||||
|
||||
|
||||
// Read Operations =====================================================================================================
|
||||
|
||||
char getc();
|
||||
wchar_t getwc();
|
||||
|
||||
string getline();
|
||||
wstring getwline();
|
||||
|
||||
|
||||
// Printing Operations =================================================================================================
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user