Skip to content

Commit 61b8b0d

Browse files
committed
removed default parameters from template classes
1 parent c404107 commit 61b8b0d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

IntrOS/kernel/inc/ostask.h

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
@file IntrOS: ostask.h
44
@author Rajmund Szymanski
5-
@date 12.05.2020
5+
@date 13.05.2020
66
@brief This file contains definitions for IntrOS.
77
88
******************************************************************************
@@ -879,7 +879,7 @@ void cur_action( act_t *action ) { tsk_action(System.cur, action); }
879879
*
880880
******************************************************************************/
881881

882-
template<size_t size_ = OS_STACK_SIZE>
882+
template<size_t size_>
883883
struct baseStack
884884
{
885885
stk_t stack_[ STK_SIZE(size_) ];
@@ -957,7 +957,7 @@ struct baseTask : public __tsk
957957
*
958958
******************************************************************************/
959959

960-
template<size_t size_ = OS_STACK_SIZE>
960+
template<size_t size_>
961961
struct TaskT : public baseTask, public baseStack<size_>
962962
{
963963
template<class T>
@@ -1043,7 +1043,13 @@ struct TaskT : public baseTask, public baseStack<size_>
10431043
#endif
10441044
};
10451045

1046-
/* -------------------------------------------------------------------------- */
1046+
/******************************************************************************
1047+
*
1048+
* Class : Task
1049+
*
1050+
* Description : create and initialize complete work area for task object
1051+
*
1052+
******************************************************************************/
10471053

10481054
using Task = TaskT<OS_STACK_SIZE>;
10491055

0 commit comments

Comments
 (0)