mirror of
https://github.com/boostorg/coroutine.git
synced 2026-02-09 11:02:35 +00:00
fix example for multiple definitions
This commit is contained in:
@@ -4,14 +4,7 @@
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/coroutine/all.hpp>
|
||||
|
||||
struct X
|
||||
{
|
||||
int i;
|
||||
|
||||
X( int i_) :
|
||||
i( i_)
|
||||
{}
|
||||
};
|
||||
#include "X.h"
|
||||
|
||||
typedef boost::coroutines::asymmetric_coroutine< X& >::pull_type pull_coro_t;
|
||||
typedef boost::coroutines::asymmetric_coroutine< X& >::push_type push_coro_t;
|
||||
|
||||
Reference in New Issue
Block a user