added missing template arguments to std::unique_ptr declaration

This commit is contained in:
Kjistóf 2016-11-27 14:20:02 +01:00
parent 087f3d45bd
commit abbbbfc8bd

View File

@ -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); }
}; };