Commit 07225301 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Second workaround for clang73 bug on mac1011 (CORALCOOL-2881)


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@19990 4525493e-7705-40b1-a816-d608a930855b
parent 2fa12880
......@@ -274,8 +274,13 @@ public:
};
// Derived2 class
class Derived2 : public Derived
, public std::enable_shared_from_this<Base>
#if defined(__APPLE__) && ( __clang_major__==7 && __clang_minor__==3 )
//, public std::enable_shared_from_this<Base> // fails on clang73 on mac
, public std::enable_shared_from_this<Derived2> // workaround for clang73 bug on mac1011 (CORALCOOL-2881)
#else
, public std::enable_shared_from_this<Base> // ok also on clang70 on mac
//, public std::enable_shared_from_this<Derived2> // does not build on clang60 on mac109! (CORALCOOL-2764)
#endif
{
protected:
virtual ~Derived2(){} // protected!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment