Fix lto build on clang by marking HolderBase::operator() as abstract (#12)

This commit is contained in:
Dmitry Petrashko 2018-03-06 20:17:12 -08:00 committed by Arun Muralidharan
parent 7534a9cddb
commit 4cc467e2aa

View File

@ -611,7 +611,7 @@ public:
private: private:
struct HolderBase { struct HolderBase {
virtual void operator()() const; virtual void operator()() const = 0;
}; };
template <typename T> template <typename T>
struct FuncHolder: HolderBase { struct FuncHolder: HolderBase {