diff options
author | 2016-11-08 08:14:28 +0100 | |
---|---|---|
committer | 2016-11-08 08:14:28 +0100 | |
commit | ef51470515bc1142b775252fe8de25b778815abb (patch) | |
tree | c5f76b77be7bdad0cafc8fb1b1f236f866da9273 | |
parent | a63ab8bb6d2fa11c70a3a8089947aea3768db056 (diff) |
delegate fix - lambda always have object (nw)
-rw-r--r-- | src/lib/util/delegate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/delegate.h b/src/lib/util/delegate.h index 5e2fdb2f143..d387db2dfcb 100644 --- a/src/lib/util/delegate.h +++ b/src/lib/util/delegate.h @@ -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); } |