More macOS fixes.

This commit is contained in:
casey langen 2017-01-10 07:07:26 -08:00
parent b94f29305e
commit 904293f080

View File

@ -41,7 +41,14 @@
#include "IKeyHandler.h" #include "IKeyHandler.h"
namespace cursespp { namespace cursespp {
class ScrollableWindow : public IScrollable, public IKeyHandler, public Window { class ScrollableWindow :
public IScrollable,
public IKeyHandler,
#if (__clang_major__ == 7 && __clang_minor__ == 3)
public std::enable_shared_from_this<ScrollableWindow>,
#endif
public Window
{
public: public:
ScrollableWindow( ScrollableWindow(
std::shared_ptr<IScrollAdapter> adapter, std::shared_ptr<IScrollAdapter> adapter,