Changed Emitter::size() to return std::size_t instead of unsigned

This commit is contained in:
Jesse Beder
2012-05-25 19:38:58 -05:00
parent bc3f72b565
commit d5130a4109
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ namespace YAML
// output // output
const char *c_str() const; const char *c_str() const;
unsigned size() const; std::size_t size() const;
// state checking // state checking
bool good() const; bool good() const;

View File

@@ -24,7 +24,7 @@ namespace YAML
return m_stream.str(); return m_stream.str();
} }
unsigned Emitter::size() const std::size_t Emitter::size() const
{ {
return m_stream.pos(); return m_stream.pos();
} }