Remove unnecessary forward declarations from reactor.hh

reactor.hh includes forward declarations for input_stream, output_stream
template classes. These are unnecessary, because it #include's iostream.hh,
which contains the full definition of these classes.

These unnecessary forward declarations are harmless in the current code, but
they will become harmful if we change the definitions in iostream.hh (e.g., I
wanted to make input_stream a "final" class).

Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>
This commit is contained in:
Nadav Har'El
2015-03-10 13:16:43 +02:00
committed by Avi Kivity
parent 8fd570d854
commit e45a507100

View File

@@ -74,12 +74,6 @@ class pollable_fd;
class pollable_fd_state;
class lowres_clock;
template <typename CharType>
class input_stream;
template <typename CharType>
class output_stream;
struct free_deleter {
void operator()(void* p) { ::free(p); }
};