ChihYungHu / google-url

Automatically exported from code.google.com/p/google-url
Other
0 stars 0 forks source link

logging.h does not include <ostream> #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In base/logging.h, the accessor stream() returns a reference to a
std::ostream instance.
However, <ostream> is never included.
Some STL may include it via strstream but not all of them (e.g Android)
Also manually forward declare std::ostream does not work with all the
compilers but including <iosfwd> may work if you don't want to include
<ostream> directly.

Original issue reported on code.google.com by nicolas.catania on 24 Mar 2009 at 10:06

GoogleCodeExporter commented 9 years ago
This is fixed in my patch provided in issue 22 
http://code.google.com/p/google-url/issues/detail?id=22

Original comment by sebastie...@gmail.com on 16 Feb 2011 at 6:10