Skip to content

Commit c80fd8c

Browse files
authored
Merge pull request #8 from hideakitai/feature/bump-arxcontainer-to-v0.6.0
feat: bump arxcontainer to v0.6.0
2 parents d4b0bcf + 4ef22e2 commit c80fd8c

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

TaskManager.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ namespace task {
3030
#if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11
3131
template <typename T>
3232
using Vec = std::vector<T>;
33-
using namespace std;
3433
#else
3534
template <typename T>
36-
using Vec = arx::vector<T>;
37-
using namespace arx;
35+
using Vec = arx::stdx::vector<T>;
3836
#endif
3937

4038
} // namespace task

TaskManager/TaskBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace task {
2323
#if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11
2424
using SubTasks = std::vector<Ref<Base>>;
2525
#else
26-
using SubTasks = arx::vector<Ref<Base>, TASKMANAGER_MAX_SUBTASKS>;
26+
using SubTasks = arx::stdx::vector<Ref<Base>, TASKMANAGER_MAX_SUBTASKS>;
2727
#endif
2828

2929
protected:

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"url": "https://github.com/hideakitai",
1212
"maintainer": true
1313
},
14-
"version": "0.5.0",
14+
"version": "0.5.1",
1515
"license": "MIT",
1616
"frameworks": "arduino",
1717
"platforms": "*",
1818
"dependencies":
1919
{
20-
"hideakitai/ArxContainer": "*",
20+
"hideakitai/ArxContainer": ">=0.6.0",
2121
"hideakitai/ArxSmartPtr": "*",
2222
"hideakitai/DebugLog": "*",
2323
"hideakitai/PollingTimer": "*"

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name=TaskManager
2-
version=0.5.0
2+
version=0.5.1
33
author=hideakitai
44
maintainer=hideakitai
55
sentence=cooperative multi-task manager for Arduino
66
paragraph=cooperative multi-task manager for Arduino
77
category=Timing
88
url=https://github.com/hideakitai/TaskManager
99
architectures=*
10-
depends=ArxContainer,ArxSmartPtr,DebugLog,PollingTimer
10+
depends=ArxContainer(>=0.6.0),ArxSmartPtr,DebugLog,PollingTimer

0 commit comments

Comments
 (0)