added missing template arguments to std::unique_ptr declaration
This commit is contained in:
parent
087f3d45bd
commit
abbbbfc8bd
@ -32,7 +32,7 @@ private:
|
|||||||
virtual ~callable() override {}
|
virtual ~callable() override {}
|
||||||
};
|
};
|
||||||
|
|
||||||
std::unique_ptr _fun;
|
std::unique_ptr<callable_base> _fun;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Function() {}
|
Function() {}
|
||||||
@ -49,4 +49,4 @@ public:
|
|||||||
|
|
||||||
operator bool() const
|
operator bool() const
|
||||||
{ return static_cast<bool>(_fun); }
|
{ return static_cast<bool>(_fun); }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user