From 8588acd603b9059941d0b99431ab83cf5e493b9d Mon Sep 17 00:00:00 2001 From: "Richard J. Knight" Date: Thu, 10 Dec 2015 10:54:53 -0600 Subject: 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 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22672 Reviewed-by: Richard J. Knight Reviewed-by: Gregory S. Still --- import/hwpf/fapi2/include/variable_buffer.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'import/hwpf') diff --git a/import/hwpf/fapi2/include/variable_buffer.H b/import/hwpf/fapi2/include/variable_buffer.H index f69b4e2f..6ae19e1c 100644 --- a/import/hwpf/fapi2/include/variable_buffer.H +++ b/import/hwpf/fapi2/include/variable_buffer.H @@ -187,7 +187,7 @@ class variable_buffer static_assert(std::is_same::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::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 -- cgit v1.2.1