Skip to content

Commit

Permalink
feat: bump arxcontainer to v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hideakitai committed Feb 5, 2024
1 parent 86dfee4 commit 1fd0bec
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Tween/Timeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace tween {
} else {
auto p = std::make_shared<Sequence<T>>(target);
p->auto_erase(b_auto_erase);
seqs.insert(make_pair((void*)&target, (SequenceRef)p));
seqs.insert(std::make_pair((void*)&target, (SequenceRef)p));
return *p;
}
}
Expand Down
6 changes: 2 additions & 4 deletions Tween/Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,13 @@ namespace tween {
using Vec = std::vector<T>;
template <typename T>
using Ref = std::shared_ptr<T>;
using namespace std;
#else
template <typename T, typename U>
using Map = arx::map<T, U>;
using Map = arx::stdx::map<T, U>;
template <typename T>
using Vec = arx::vector<T>;
using Vec = arx::stdx::vector<T, 60>;
template <typename T>
using Ref = std::shared_ptr<T>;
using namespace arx;
#endif

} // namespace tween
Expand Down
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"url": "https://github.com/hideakitai",
"maintainer": true
},
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"frameworks": "arduino",
"platforms": "*",
"dependencies":
{
"hideakitai/ArxContainer": "*",
"hideakitai/ArxContainer": ">=0.6.0",
"hideakitai/ArxSmartPtr": "*",
"hideakitai/ArxTypeTraits": "*",
"hideakitai/Easing": "*",
Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name=Tween
version=0.4.0
version=0.4.1
author=hideakitai
maintainer=hideakitai
sentence=Tween library for Arduino with Robert Penners easing functions
paragraph=Tween library for Arduino with Robert Penners easing functions. Tweening custom class and several timeline modes are also available with simple usage.
category=Data Processing
url=https://github.com/hideakitai/Tween
architectures=*
depends=ArxContainer,ArxSmartPtr,ArxTypeTraits,Easing,PollingTimer
depends=ArxContainer(>=0.6.0),ArxSmartPtr,ArxTypeTraits,Easing,PollingTimer

0 comments on commit 1fd0bec

Please sign in to comment.