diff options
author | 2017-02-17 19:38:15 +0100 | |
---|---|---|
committer | 2017-02-17 20:10:15 +0100 | |
commit | 8536d065e23e2235727e720b274bab50de1ebb1c (patch) | |
tree | d69251119672bee5509bbc8541333208187bf50d /src/lib/netlist/plib/ppmf.h | |
parent | 0716d965144f17ff909affc5c465f721feb3e625 (diff) |
Fix mingw 32 bit build. (nw)
Diffstat (limited to 'src/lib/netlist/plib/ppmf.h')
-rwxr-xr-x | src/lib/netlist/plib/ppmf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/netlist/plib/ppmf.h b/src/lib/netlist/plib/ppmf.h index 6109cc916e5..f2761fa8c00 100755 --- a/src/lib/netlist/plib/ppmf.h +++ b/src/lib/netlist/plib/ppmf.h @@ -177,6 +177,7 @@ namespace plib { function_ptr t = *reinterpret_cast<function_ptr *>(&m_func); return (obj->*t)(std::forward<Targs>(args)...); } + bool is_set() { return m_func != nullptr; } private: generic_function m_func; #if 0 && defined(_MSC_VER) |