changes needed for meson build
Fix warnings that the meson build turns into errors.
Tested: builds without warnings.
Change-Id: I66b02c4c616f37d09ceba61c494903acc3d28bd5
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/include/biosxml.hpp b/include/biosxml.hpp
index ffc20ba..68e6f67 100644
--- a/include/biosxml.hpp
+++ b/include/biosxml.hpp
@@ -92,12 +92,13 @@
std::string descriptionStr, std::string defaultStr,
std::string promptStr, std::string depexStr,
std::string& setupTypeStr) :
- nameStr(std::move(nameStr)),
- currentValStr(std::move(currentValStr)), currentVal(currentVal),
+ depex(false),
+ readOnly(("ReadOnly" == setupTypeStr) ? true : false),
+ currentVal(currentVal), nameStr(std::move(nameStr)),
+ currentValStr(std::move(currentValStr)),
descriptionStr(std::move(descriptionStr)),
defaultStr(std::move(defaultStr)), promptStr(std::move(promptStr)),
- depexStr(std::move(depexStr)), depex(false),
- readOnly(("ReadOnly" == setupTypeStr) ? true : false)
+ depexStr(std::move(depexStr))
{}
bool depex;