From 4ef22e28201d293bd86bb98fc0bc1a1d603ff629 Mon Sep 17 00:00:00 2001 From: Hideaki Tai Date: Tue, 6 Feb 2024 00:32:08 +0900 Subject: [PATCH] feat: bump arxcontainer to v0.6.0 --- TaskManager.h | 4 +--- TaskManager/TaskBase.h | 2 +- library.json | 4 ++-- library.properties | 4 ++-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/TaskManager.h b/TaskManager.h index 792ec0f..71bada8 100644 --- a/TaskManager.h +++ b/TaskManager.h @@ -30,11 +30,9 @@ namespace task { #if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11 template using Vec = std::vector; - using namespace std; #else template - using Vec = arx::vector; - using namespace arx; + using Vec = arx::stdx::vector; #endif } // namespace task diff --git a/TaskManager/TaskBase.h b/TaskManager/TaskBase.h index 9c0e944..1b72d0d 100644 --- a/TaskManager/TaskBase.h +++ b/TaskManager/TaskBase.h @@ -23,7 +23,7 @@ namespace task { #if ARX_HAVE_LIBSTDCPLUSPLUS >= 201103L // Have libstdc++11 using SubTasks = std::vector>; #else - using SubTasks = arx::vector, TASKMANAGER_MAX_SUBTASKS>; + using SubTasks = arx::stdx::vector, TASKMANAGER_MAX_SUBTASKS>; #endif protected: diff --git a/library.json b/library.json index 2323bb4..06a5520 100644 --- a/library.json +++ b/library.json @@ -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": "*" diff --git a/library.properties b/library.properties index c5a7932..858bb42 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=TaskManager -version=0.5.0 +version=0.5.1 author=hideakitai maintainer=hideakitai sentence=cooperative multi-task manager for Arduino @@ -7,4 +7,4 @@ 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