Unified line endings.

This commit is contained in:
jbeder
2008-09-03 22:17:17 +00:00
parent a57a5748f8
commit 7f2c3591e3
12 changed files with 60 additions and 60 deletions

View File

@@ -1,24 +1,24 @@
#include "crt.h"
#include "stream.h"
#include "stream.h"
#include <iostream>
namespace YAML
{
int Stream::pos() const
{
return input.tellg();
}
char Stream::peek()
{
return input.peek();
}
Stream::operator bool()
{
return input.good();
int Stream::pos() const
{
return input.tellg();
}
char Stream::peek()
{
return input.peek();
}
Stream::operator bool()
{
return input.good();
}
// get
// . Extracts a character from the stream and updates our position
char Stream::get()
@@ -48,6 +48,6 @@ namespace YAML
{
for(int i=0;i<n;i++)
get();
}
}
}