Skip to content

Commit 900550a

Browse files
author
camilo
committed
minor changes"
1 parent efa45f0 commit 900550a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/coroutine.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ namespace qOS {
145145
label = l;
146146
return *this;
147147
}
148-
inline co::state operator()( void ) const
148+
inline operator co::state() const
149149
{
150150
return label;
151151
}
@@ -394,7 +394,7 @@ for ( ; co_ctx != qOS::co::SUSPENDED ; co_ctx = qOS::co::SUSPENDED ) \
394394
break; \
395395
} \
396396
else \
397-
switch ( co_ctx() ) \
397+
switch ( co_ctx ) \
398398
case 0 : \
399399

400400
/*============================================================================*/

0 commit comments

Comments
 (0)