diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/debug.cpp | 1 | ||||
-rw-r--r-- | compat/debug.hpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/compat/debug.cpp b/compat/debug.cpp index d7a28289..5cbb3af5 100644 --- a/compat/debug.cpp +++ b/compat/debug.cpp @@ -66,6 +66,7 @@ Debug& operator<<(Debug& dbg, Fraction f) namespace floormat { +std::istream* standard_input() { return &std::cin; } std::ostream* standard_output() { return &std::cout; } std::ostream* standard_error() { return &std::cerr; } diff --git a/compat/debug.hpp b/compat/debug.hpp index 7d1c6718..1e3ebcda 100644 --- a/compat/debug.hpp +++ b/compat/debug.hpp @@ -57,6 +57,7 @@ Debug& operator<<(Debug& dbg, Fraction frac); namespace floormat { +std::istream* standard_input(); std::ostream* standard_output(); std::ostream* standard_error(); |