Unified line endings.

This commit is contained in:
Jesse Beder
2008-09-03 22:17:17 +00:00
parent 80db86e771
commit 5c0db0d21b
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();
}
}
}