MFile stuff.

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

No files matched your search

+1 -1
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();
} }
+3 -3
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);