diff options
Diffstat (limited to 'boost/coroutine/asymmetric_coroutine.hpp')
-rw-r--r-- | boost/coroutine/asymmetric_coroutine.hpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/boost/coroutine/asymmetric_coroutine.hpp b/boost/coroutine/asymmetric_coroutine.hpp index ff4684f61f..8ffebf5e39 100644 --- a/boost/coroutine/asymmetric_coroutine.hpp +++ b/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 { |