refs #614, allow CCached::NotifySlot to refer to a base class method

This commit is contained in:
Mathew Sutcliffe
2016-04-24 16:26:58 +01:00
committed by Klaus Basan
parent 43f9515eaa
commit bf2a84b67c
3 changed files with 17 additions and 2 deletions

View File

@@ -271,7 +271,7 @@ namespace BlackMisc
//! Type of pointer to non-const member function of U taking no arguments and returning void,
//! for slot parameter of CCached constructor.
template <typename U>
using NotifySlot = void (U::*)();
using NotifySlot = Private::NonDeduced<void (U::*)()>;
//! Constructor.
//! \param cache The CValueCache object which manages the value.