Renamed NodeIterator into ListIterator

This commit is contained in:
Benoit Blanchon
2014-11-05 13:12:20 +01:00
parent 64b4e15ce6
commit 8138c64116
3 changed files with 15 additions and 15 deletions

View File

@@ -6,8 +6,8 @@
#pragma once
#include "NodeIterator.hpp"
#include "NodeConstIterator.hpp"
#include "ListIterator.hpp"
#include "ListConstIterator.hpp"
#include "../JsonBuffer.hpp"
namespace ArduinoJson {
@@ -18,8 +18,8 @@ class List {
public:
typedef T value_type;
typedef Node<T> node_type;
typedef NodeIterator<T> iterator;
typedef NodeConstIterator<T> const_iterator;
typedef ListIterator<T> iterator;
typedef ListConstIterator<T> const_iterator;
List(JsonBuffer *buffer) : _buffer(buffer), _firstNode(NULL) {}
@@ -41,4 +41,4 @@ class List {
node_type *_firstNode;
};
}
}
}