From d6a0fc6f01677a1ceecc7c97fb0b2ba874e20056 Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Wed, 25 Jan 2012 17:40:16 -0600 Subject: [PATCH] Fixed warning about binary's shadowing members functions --- include/yaml-cpp/binary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/yaml-cpp/binary.h b/include/yaml-cpp/binary.h index 8504ebe..77c770a 100644 --- a/include/yaml-cpp/binary.h +++ b/include/yaml-cpp/binary.h @@ -18,7 +18,7 @@ namespace YAML class Binary { public: Binary(): m_unownedData(0), m_unownedSize(0) {} - Binary(const unsigned char *data, std::size_t size): m_unownedData(data), m_unownedSize(size) {} + Binary(const unsigned char *data_, std::size_t size_): m_unownedData(data_), m_unownedSize(size_) {} bool owned() const { return !m_unownedData; } std::size_t size() const { return owned() ? m_data.size() : m_unownedSize; }