Skip to content

Commit

Permalink
More shadowing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Jan 4, 2017
1 parent 00e1e23 commit ac225bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rct/LinkedList.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class LinkedList : public std::list<T>
{
public:
LinkedList() : std::list<T>() { }
LinkedList(size_t size) : std::list<T>(size) { }
LinkedList(size_t len) : std::list<T>(len) { }

bool isEmpty() const { return std::list<T>::empty(); }

Expand Down
4 changes: 2 additions & 2 deletions rct/Message.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{}
Expand Down

0 comments on commit ac225bd

Please sign in to comment.