MFile stuff.

This commit is contained in:
Brad Arant 2025-06-20 00:42:24 +00:00
parent a87ce0bab7
commit 72c1286053
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ namespace coreutils {
MFile::MFile(coreutils::MString fileName) : fileName(fileName) { MFile::MFile(coreutils::MString fileName) : fileName(fileName) {
inFile.open(fileName.c_str()); inFile.open(fileName.c_str());
*this << inFile; // *this << inFile;
inFile.close(); inFile.close();
} }

View File

@ -216,9 +216,9 @@ namespace coreutils {
return *this; return *this;
} }
MString &operator<<(std::ostream &out) { // MString &operator<<(std::ostream &out) {
*this << out; // *this << out;
} // }
void MString::insert(char ch, int offset) { void MString::insert(char ch, int offset) {
setSize(length + 1); setSize(length + 1);