Patch for gcc -Wall (order of initialization)

This commit is contained in:
jbeder
2009-05-29 22:36:52 +00:00
parent 51457eece9
commit c150e9945c
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;