From d5130a4109e8c9145a7b9af2c8132333fa94e2dd Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Fri, 25 May 2012 19:38:58 -0500 Subject: [PATCH] Changed Emitter::size() to return std::size_t instead of unsigned --- include/yaml-cpp/emitter.h | 2 +- src/emitter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/yaml-cpp/emitter.h b/include/yaml-cpp/emitter.h index 754192d..4230e7d 100644 --- a/include/yaml-cpp/emitter.h +++ b/include/yaml-cpp/emitter.h @@ -30,7 +30,7 @@ namespace YAML // output const char *c_str() const; - unsigned size() const; + std::size_t size() const; // state checking bool good() const; diff --git a/src/emitter.cpp b/src/emitter.cpp index 7e0067a..8a5a706 100644 --- a/src/emitter.cpp +++ b/src/emitter.cpp @@ -24,7 +24,7 @@ namespace YAML return m_stream.str(); } - unsigned Emitter::size() const + std::size_t Emitter::size() const { return m_stream.pos(); }