diff --git a/src/musikbox/cursespp/TextInput.h b/src/musikbox/cursespp/TextInput.h index 275247006..c6764edbd 100755 --- a/src/musikbox/cursespp/TextInput.h +++ b/src/musikbox/cursespp/TextInput.h @@ -40,7 +40,12 @@ #include namespace cursespp { - class TextInput : public cursespp::Window, public cursespp::IInput { + class TextInput : + public cursespp::Window, +#if (__clang_major__ == 7 && __clang_minor__ == 3) + public std::enable_shared_from_this, +#endif + public cursespp::IInput { public: sigslot::signal1 EnterPressed; sigslot::signal2 TextChanged;