delegate fix - lambda always have object (nw)

This commit is contained in:
Miodrag Milanovic 2016-11-08 08:14:28 +01:00
parent a63ab8bb6d
commit ef51470515

View File

@ -545,7 +545,7 @@ public:
}
// getters
bool has_object() const { return (object() != nullptr); }
bool has_object() const { return (object() != nullptr) || m_std_func; }
// helpers
bool isnull() const { return (m_raw_function == nullptr && m_raw_mfp.isnull() && !m_std_func); }