mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Fixed gcc build error
This commit is contained in:
parent
20e7d50568
commit
a2647d00e9
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ namespace
|
||||||
class base_class
|
class base_class
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual void method( boost::function< void( int ) > functor ) = 0;
|
virtual void method( const boost::function< void( int ) >& functor ) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
void function( base_class& ); // the function will call 'method' with a functor to be applied
|
void function( base_class& ); // the function will call 'method' with a functor to be applied
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue