From 730e5dde39333cb2f63c72a7d7152bee5c4dbb05 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 8 Feb 2014 15:09:25 -0800 Subject: Implement AString --- src/io/read.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/io/read.cpp') diff --git a/src/io/read.cpp b/src/io/read.cpp index fe2c765..2ef35cc 100644 --- a/src/io/read.cpp +++ b/src/io/read.cpp @@ -21,7 +21,7 @@ #include #include -#include "../strings/fstring.hpp" +#include "../strings/astring.hpp" #include "../strings/mstring.hpp" #include "../strings/zstring.hpp" @@ -74,7 +74,7 @@ namespace io } return len; } - bool ReadFile::getline(FString& line) + bool ReadFile::getline(AString& line) { MString tmp; char c; @@ -111,7 +111,7 @@ namespace io } else if (!happy && anything) PRINTF("warning: file does not contain a trailing newline\n"); - line = FString(tmp); + line = AString(tmp); return anything; } -- cgit v1.2.3-60-g2f50