diff --git a/include/boost/coroutine/asymmetric_coroutine.hpp b/include/boost/coroutine/asymmetric_coroutine.hpp index ff4684f..8ffebf5 100644 --- a/include/boost/coroutine/asymmetric_coroutine.hpp +++ b/include/boost/coroutine/asymmetric_coroutine.hpp @@ -788,12 +788,7 @@ public: return * this; } - iterator operator++( int) - { - iterator tmp( * this); - ++*this; - return tmp; - } + iterator operator++( int); reference_t operator*() const { @@ -1174,12 +1169,7 @@ public: return * this; } - iterator operator++( int) - { - iterator tmp( * this); - ++*this; - return tmp; - } + iterator operator++( int); reference_t operator*() const {