aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stable/formatter.h3
-rw-r--r--src/tests/print.cpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/stable/formatter.h b/src/stable/formatter.h
index 9b9e501..d92a53b 100644
--- a/src/stable/formatter.h
+++ b/src/stable/formatter.h
@@ -247,6 +247,9 @@ namespace Bu
247 247
248 void doFlush(); 248 void doFlush();
249 249
250 Stream &getStream() { return rStream; }
251 operator Stream&() { return rStream; }
252
250 private: 253 private:
251 Stream &rStream; 254 Stream &rStream;
252 Fmt fLast; 255 Fmt fLast;
diff --git a/src/tests/print.cpp b/src/tests/print.cpp
index 7a2fab2..0f9be6b 100644
--- a/src/tests/print.cpp
+++ b/src/tests/print.cpp
@@ -9,6 +9,7 @@ int main()
9 Bu::println("This is unsubstituted?"); 9 Bu::println("This is unsubstituted?");
10 10
11 Bu::serr << "This is error text." << Bu::serr.nl; 11 Bu::serr << "This is error text." << Bu::serr.nl;
12 Bu::println( Bu::serr, "This is also error text?");
12 13
13 return 0; 14 return 0;
14} 15}