Updated copyright year from 2016 to 2017

This commit is contained in:
Benoit Blanchon
2017-01-06 21:07:34 +01:00
parent 7e7074502f
commit 671329a3e9
139 changed files with 365 additions and 235 deletions

View File

@@ -1,4 +1,4 @@
// Copyright Benoit Blanchon 2014-2016
// Copyright Benoit Blanchon 2014-2017
// MIT License
//
// Arduino JSON library
@@ -18,8 +18,12 @@ class ListConstIterator {
public:
explicit ListConstIterator(const ListNode<T> *node = NULL) : _node(node) {}
const T &operator*() const { return _node->content; }
const T *operator->() { return &_node->content; }
const T &operator*() const {
return _node->content;
}
const T *operator->() {
return &_node->content;
}
bool operator==(const ListConstIterator<T> &other) const {
return _node == other._node;