diff --git a/README.md b/README.md index 6439e94..25454bf 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Please see `custom_class` example for details. - [Easing v0.1.0](https://github.com/hideakitai/Easing) - [PollingTimer v0.2.5](https://github.com/hideakitai/PollingTimer) - [ArxTypeTraits v0.2.1](https://github.com/hideakitai/ArxTypeTraits) -- [ArxContainer v0.3.10](https://github.com/hideakitai/ArxContainer) +- [ArxContainer v0.3.11](https://github.com/hideakitai/ArxContainer) - [ArxSmartPtr v0.2.1](https://github.com/hideakitai/ArxSmartPtr) - [TeensyDirtySTLErrorSolution v0.1.0](https://github.com/hideakitai/TeensyDirtySTLErrorSolution) diff --git a/Tween/util/ArxContainer/ArxContainer.h b/Tween/util/ArxContainer/ArxContainer.h index aaaa081..72b7830 100644 --- a/Tween/util/ArxContainer/ArxContainer.h +++ b/Tween/util/ArxContainer/ArxContainer.h @@ -179,10 +179,10 @@ namespace arx { T& operator[] (size_t index) { return get(head_ + (int)index); } iterator begin() { return ptr(head_); } - iterator end() { return (queue_ + tail_); } + iterator end() { return (queue_ + tail_ + 1); } const_iterator begin() const { return (const_iterator)ptr(head_); } - const_iterator end() const { return (const_iterator)(queue_ + tail_); } + const_iterator end() const { return (const_iterator)(queue_ + tail_ + 1); } iterator erase(iterator p) { diff --git a/Tween/util/ArxContainer/README.md b/Tween/util/ArxContainer/README.md index 8786bfa..3a57c60 100644 --- a/Tween/util/ArxContainer/README.md +++ b/Tween/util/ArxContainer/README.md @@ -158,7 +158,6 @@ PRs are welcome! - [Packetizer](https://github.com/hideakitai/Packetizer) - [MsgPack](https://github.com/hideakitai/MsgPack) -- [MsgPacketizer](https://github.com/hideakitai/MsgPacketizer) - [ArduinoOSC](https://github.com/hideakitai/ArduinoOSC) - [ArtNet](https://github.com/hideakitai/ArtNet) - [Tween](https://github.com/hideakitai/Tween) diff --git a/Tween/util/ArxContainer/library.json b/Tween/util/ArxContainer/library.json index d2342a7..c095a99 100644 --- a/Tween/util/ArxContainer/library.json +++ b/Tween/util/ArxContainer/library.json @@ -11,7 +11,7 @@ "url": "https://github.com/hideakitai", "maintainer": true }, - "version": "0.3.10", + "version": "0.3.11", "license": "MIT", "frameworks": "arduino", "platforms": "*" diff --git a/Tween/util/ArxContainer/library.properties b/Tween/util/ArxContainer/library.properties index 408a80d..ca75b4b 100644 --- a/Tween/util/ArxContainer/library.properties +++ b/Tween/util/ArxContainer/library.properties @@ -1,5 +1,5 @@ name=ArxContainer -version=0.3.10 +version=0.3.11 author=hideakitai maintainer=hideakitai sentence=C++ container-like classes (vector, map, etc.) for Arduino which cannot use STL