summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/plib/pstate.h')
-rw-r--r--src/lib/netlist/plib/pstate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/netlist/plib/pstate.h b/src/lib/netlist/plib/pstate.h
index 59e7d5006f1..d4d98c20785 100644
--- a/src/lib/netlist/plib/pstate.h
+++ b/src/lib/netlist/plib/pstate.h
@@ -194,8 +194,8 @@ protected:
private:
template<typename C>
- typename std::enable_if<plib::is_integral<C>::value || std::is_enum<C>::value
- || plib::is_floating_point<C>::value>::type
+ std::enable_if_t<plib::is_integral<C>::value || std::is_enum<C>::value
+ || plib::is_floating_point<C>::value>
save_item_dispatch(const void *owner, C &state, const pstring &stname)
{
save_state_ptr( owner, stname, dtype<C>(), 1, &state);
@@ -203,8 +203,8 @@ private:
template<typename C>
- typename std::enable_if<!(plib::is_integral<C>::value || std::is_enum<C>::value
- || plib::is_floating_point<C>::value)>::type
+ std::enable_if_t<!(plib::is_integral<C>::value || std::is_enum<C>::value
+ || plib::is_floating_point<C>::value)>
save_item_dispatch(const void *owner, C &state, const pstring &stname)
{
saver_t sav(*this, owner, stname);