"vscode:/vscode.git/clone" did not exist on "2d55c14c824ed40c6162bb4bb518ed35fbded985"
Commit d50fbf59 authored by beder's avatar beder
Browse files

Fixed warning about binary's shadowing members functions

parent 8d0ee05d
......@@ -16,7 +16,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; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment