From ac225bd34e611e5ad8dd5addce53789e7307d0dd Mon Sep 17 00:00:00 2001 From: Anders Bakken Date: Wed, 4 Jan 2017 12:08:55 -0800 Subject: [PATCH] More shadowing. --- rct/LinkedList.h | 2 +- rct/Message.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rct/LinkedList.h b/rct/LinkedList.h index 3bdb5a1..e72e0e5 100644 --- a/rct/LinkedList.h +++ b/rct/LinkedList.h @@ -9,7 +9,7 @@ class LinkedList : public std::list { public: LinkedList() : std::list() { } - LinkedList(size_t size) : std::list(size) { } + LinkedList(size_t len) : std::list(len) { } bool isEmpty() const { return std::list::empty(); } diff --git a/rct/Message.h b/rct/Message.h index e63b07d..74586fd 100644 --- a/rct/Message.h +++ b/rct/Message.h @@ -15,8 +15,8 @@ class Message QuitMessageId = 3 }; - Message(uint8_t id, uint8_t flags = None) - : mMessageId(id), mFlags(flags), mVersion(0) + Message(uint8_t id, uint8_t f = None) + : mMessageId(id), mFlags(f), mVersion(0) {} virtual ~Message() {}