summaryrefslogtreecommitdiff
path: root/Source/Library/Common/OStream.proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Library/Common/OStream.proto.cpp')
-rw-r--r--Source/Library/Common/OStream.proto.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Library/Common/OStream.proto.cpp b/Source/Library/Common/OStream.proto.cpp
index bbf5dc3..ba876b3 100644
--- a/Source/Library/Common/OStream.proto.cpp
+++ b/Source/Library/Common/OStream.proto.cpp
@@ -55,6 +55,9 @@ OStream& OStream::operator<< (ostream_modifiers_e m) {
flush();
} else if (m == ENDL) {
put("\n");
+ } else if (m == END) {
+ put(String(EOF, 1));
+ flush();
}
return *this;
}