MFile stuff.
This commit is contained in:
parent
a87ce0bab7
commit
72c1286053
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user