Patch for gcc -Wall (order of initialization)

This commit is contained in:
jbeder 2009-05-29 22:36:52 +00:00
parent a50c88ac17
commit 705d04c50d
2 changed files with 35 additions and 35 deletions

View File

@ -4,7 +4,7 @@
namespace YAML namespace YAML
{ {
Stream::Stream(std::istream& input): buffer(0), pos(0), line(0), column(0), size(0) Stream::Stream(std::istream& input): pos(0), line(0), column(0), size(0), buffer(0)
{ {
if(!input) if(!input)
return; return;