Skip to content

Commit

Permalink
Merge pull request #8 from hideakitai/feature/bump-arxcontainer-to-v0…
Browse files Browse the repository at this point in the history
….6.0

feat: bump arxcontainer to v0.6.0
  • Loading branch information
hideakitai authored Feb 11, 2024
2 parents d4b0bcf + 4ef22e2 commit c80fd8c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions TaskManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ namespace task {
#if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11
template <typename T>
using Vec = std::vector<T>;
using namespace std;
#else
template <typename T>
using Vec = arx::vector<T>;
using namespace arx;
using Vec = arx::stdx::vector<T>;
#endif

} // namespace task
Expand Down
2 changes: 1 addition & 1 deletion TaskManager/TaskBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace task {
#if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11
using SubTasks = std::vector<Ref<Base>>;
#else
using SubTasks = arx::vector<Ref<Base>, TASKMANAGER_MAX_SUBTASKS>;
using SubTasks = arx::stdx::vector<Ref<Base>, TASKMANAGER_MAX_SUBTASKS>;
#endif

protected:
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.5.0",
"version": "0.5.1",
"license": "MIT",
"frameworks": "arduino",
"platforms": "*",
"dependencies":
{
"hideakitai/ArxContainer": "*",
"hideakitai/ArxContainer": ">=0.6.0",
"hideakitai/ArxSmartPtr": "*",
"hideakitai/DebugLog": "*",
"hideakitai/PollingTimer": "*"
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=TaskManager
version=0.5.0
version=0.5.1
author=hideakitai
maintainer=hideakitai
sentence=cooperative multi-task manager for Arduino
paragraph=cooperative multi-task manager for Arduino
category=Timing
url=https://github.com/hideakitai/TaskManager
architectures=*
depends=ArxContainer,ArxSmartPtr,DebugLog,PollingTimer
depends=ArxContainer(>=0.6.0),ArxSmartPtr,DebugLog,PollingTimer

0 comments on commit c80fd8c

Please sign in to comment.