summaryrefslogtreecommitdiffstats
path: root/import/hwpf
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2015-12-10 10:54:53 -0600
committerGregory S. Still <stillgs@us.ibm.com>2016-01-04 08:28:14 -0600
commit8588acd603b9059941d0b99431ab83cf5e493b9d (patch)
tree6bb8874ae702816dfa12ff200b9586a35eb6275d /import/hwpf
parentefa70be13ebded8be479c6544438ef6c40ce3f93 (diff)
downloadtalos-sbe-8588acd603b9059941d0b99431ab83cf5e493b9d.tar.gz
talos-sbe-8588acd603b9059941d0b99431ab83cf5e493b9d.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> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22672 Reviewed-by: Richard J. Knight <rjknight@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'import/hwpf')
-rw-r--r--import/hwpf/fapi2/include/variable_buffer.H4
1 files changed, 2 insertions, 2 deletions
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<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
OpenPOWER on IntegriCloud