diff options
author | Andre Marin <aamarin@us.ibm.com> | 2019-03-24 15:01:30 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2019-04-02 13:19:16 -0500 |
commit | 8daf280f7d24a3f5b2c553bb39ceda4d0fd32736 (patch) | |
tree | 97904c0ae6f2eef7c878aa3ae2f3032bd21a013a /src/include/util | |
parent | ca03643dd8935f9c839cf8dfd4971c519476f4a1 (diff) | |
download | talos-hostboot-8daf280f7d24a3f5b2c553bb39ceda4d0fd32736.tar.gz talos-hostboot-8daf280f7d24a3f5b2c553bb39ceda4d0fd32736.zip |
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 <bofferdn@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/include/util')
-rw-r--r-- | src/include/util/impl/integral.H | 7 |
1 files changed, 3 insertions, 4 deletions
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<bool, true> {}; - struct false_type : integral_constant<bool, false> {}; - + typedef integral_constant<bool, true> true_type; + typedef integral_constant<bool, false> false_type; } #endif /* vim: set filetype=cpp : */ |