Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed Dec 27, 2015
1 parent 749da27 commit 87a5a85
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions task.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ namespace Task
class future
{
public:
future( std::function< void() > start,
std::function< void() > cancel,
std::function< void( T& ) > get ) :
future( std::function< void() >&& start,
std::function< void() >&& cancel,
std::function< void( T& ) >&& get ) :
m_start ( std::move( start ) ),
m_cancel( std::move( cancel ) ),
m_get ( std::move( get ) )
Expand Down Expand Up @@ -190,9 +190,9 @@ namespace Task
class future< void >
{
public:
future( std::function< void() > start,
std::function< void() > cancel,
std::function< void() > get ) :
future( std::function< void() >&& start,
std::function< void() >&& cancel,
std::function< void() >&& get ) :
m_start ( std::move( start ) ),
m_cancel( std::move( cancel ) ),
m_get ( std::move( get ) )
Expand Down

0 comments on commit 87a5a85

Please sign in to comment.