From d8c1605ced6e9445b8ef6fdf7ab5dde4021d454a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Jul 2017 08:53:16 +0200 Subject: Make slightly more interesting --- libprint/libprint/print.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libprint/libprint/print.cxx') diff --git a/libprint/libprint/print.cxx b/libprint/libprint/print.cxx index 32c827d..7ca5b04 100644 --- a/libprint/libprint/print.cxx +++ b/libprint/libprint/print.cxx @@ -6,8 +6,11 @@ using namespace std; -void -print (const string& h) +namespace print { - cout << h << endl; + void + to_stdout (const string& s) + { + cout << s << endl; + } } -- cgit v1.1