summaryrefslogtreecommitdiffstats
path: root/import/hwpf/fapi2/include
diff options
context:
space:
mode:
Diffstat (limited to 'import/hwpf/fapi2/include')
-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