From 68db9fd99ac3f709a9b9a68dc98c5c1b8e74690e Mon Sep 17 00:00:00 2001 From: Robbbert Date: Wed, 16 Oct 2019 16:10:42 +1100 Subject: [PATCH] (nw) fixed compile error on gcc 5.3 . Apologies in advance if it breaks other compilers/versions. --- src/lib/netlist/plib/ppmf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/netlist/plib/ppmf.h b/src/lib/netlist/plib/ppmf.h index 9c5c989da0b..8c8c6582579 100644 --- a/src/lib/netlist/plib/ppmf.h +++ b/src/lib/netlist/plib/ppmf.h @@ -179,7 +179,7 @@ namespace plib { inline R call(O *obj, Targs... args) const noexcept(true) { using function_ptr = R (O::*)(Targs...); - function_ptr t = *reinterpret_cast(&m_func); + function_ptr t = *reinterpret_cast(&m_func); return (obj->*t)(std::forward(args)...); } bool is_set() const {