Patch for gcc -Wall (order of initialization)

This commit is contained in:
Jesse Beder
2009-05-29 22:36:52 +00:00
parent e76521c0e9
commit 9a1a3974c6
2 changed files with 35 additions and 35 deletions

View File

@@ -4,7 +4,7 @@
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)
return;