Use <iosfwd> instead of <iostream> in base/serialization.h.

This commit is contained in:
David Capello 2011-03-26 15:09:44 -03:00
parent bc86d0afd7
commit daf7abfa68
2 changed files with 3 additions and 3 deletions

View File

@ -8,6 +8,8 @@
#include "base/serialization.h"
#include <iostream>
namespace base {
namespace serialization {

View File

@ -7,10 +7,9 @@
#ifndef BASE_SERIALIZATION_H_INCLUDED
#define BASE_SERIALIZATION_H_INCLUDED
#include <iostream>
#include <iosfwd>
namespace base {
namespace serialization {
std::ostream& write8(std::ostream& os, uint8_t byte);
@ -35,7 +34,6 @@ namespace serialization {
} // big_endian namespace
} // serialization namespace
} // base namespace
#endif