From 8daf280f7d24a3f5b2c553bb39ceda4d0fd32736 Mon Sep 17 00:00:00 2001 From: Andre Marin Date: Sun, 24 Mar 2019 15:01:30 -0500 Subject: Fix true_type and false_ type typdef with integral_constant Change-Id: Ie1a432be0d1b2a59a0e0521f251d6bdf8a11ac70 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74942 Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes --- src/include/util/impl/integral.H | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/util/impl/integral.H b/src/include/util/impl/integral.H index b814e2655..9cc39b222 100644 --- a/src/include/util/impl/integral.H +++ b/src/include/util/impl/integral.H @@ -1,7 +1,7 @@ /* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ -/* $Source: src/include/util/traits/integral.H $ */ +/* $Source: src/include/util/impl/integral.H $ */ /* */ /* OpenPOWER HostBoot Project */ /* */ @@ -38,9 +38,8 @@ namespace std constexpr value_type operator()() const { return value; } }; - struct true_type : integral_constant {}; - struct false_type : integral_constant {}; - + typedef integral_constant true_type; + typedef integral_constant false_type; } #endif /* vim: set filetype=cpp : */ -- cgit v1.2.3