diff options
author | Richard J. Knight <rjknight@us.ibm.com> | 2015-12-10 10:54:53 -0600 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2015-12-11 15:30:29 -0600 |
commit | fc949ad2edec0c31875efcdb07543edd4d23350e (patch) | |
tree | 28fa8bb5549ebcc98156bbc88d3bc4df61c8dc0e /src/import/hwpf/fapi2/include/variable_buffer.H | |
parent | c1f7932eae885dda2f333c6817e03294f1cdb1ae (diff) | |
download | talos-hostboot-fc949ad2edec0c31875efcdb07543edd4d23350e.tar.gz talos-hostboot-fc949ad2edec0c31875efcdb07543edd4d23350e.zip |
Remove use of initializer list from variable buffer.
Change-Id: Ida5cf7c4505501b84c02f657910e5d4883ddc673
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22633
Reviewed-by: Brian Silver <bsilver@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/import/hwpf/fapi2/include/variable_buffer.H')
-rw-r--r-- | src/import/hwpf/fapi2/include/variable_buffer.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/hwpf/fapi2/include/variable_buffer.H b/src/import/hwpf/fapi2/include/variable_buffer.H index f69b4e2fb..6ae19e1c1 100644 --- a/src/import/hwpf/fapi2/include/variable_buffer.H +++ b/src/import/hwpf/fapi2/include/variable_buffer.H @@ -187,7 +187,7 @@ class variable_buffer static_assert(std::is_same<unit_type, uint32_t>::value, "code currently needs unit_type to be a unit32_t"); } - +#ifndef NO_INITIALIZER_LIST /// /// @brief Variable buffer list constructor /// @param[in] i_value an initializer list to initialize the container. @@ -200,7 +200,7 @@ class variable_buffer static_assert(std::is_same<unit_type, uint32_t>::value, "code currently needs unit_type to be a unit32_t"); } - +#endif /// /// @brief Variable buffer copy constructor /// @param[in] i_buffer the buffer to copy from |