From b94f29305ed9c27b26885fd038f151c7e7aa67b7 Mon Sep 17 00:00:00 2001 From: casey langen Date: Tue, 10 Jan 2017 07:01:19 -0800 Subject: [PATCH] This should fix ConsoleLayout's compile on macOS. --- src/musikbox/app/layout/ConsoleLayout.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/musikbox/app/layout/ConsoleLayout.h b/src/musikbox/app/layout/ConsoleLayout.h index 56c7c3f10..81bb601fe 100755 --- a/src/musikbox/app/layout/ConsoleLayout.h +++ b/src/musikbox/app/layout/ConsoleLayout.h @@ -52,6 +52,9 @@ namespace musik { namespace box { class ConsoleLayout : public cursespp::LayoutBase, +#if (__clang_major__ == 7 && __clang_minor__ == 3) + public std::enable_shared_from_this, +#endif public ITopLevelLayout, public sigslot::has_slots<> {