summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-09-27 06:10:42 +0300
committerEd Tanous <ed@tanous.net>2022-09-30 20:14:38 +0300
commit3d69feda9a411aec6a3f89064cd67a5d6b105b9c (patch)
treef14d5ef1fd05ff760bfb2cbccebc98b2fca32d86
parent1a7b377664022ff20dd6687927f2dcc0de33131e (diff)
downloadbmcweb-3d69feda9a411aec6a3f89064cd67a5d6b105b9c.tar.xz
Make the schemas.hpp generated file #include array
The script missed a #include. Add it. Tested: Code compiles. Header change only. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ib38a46d8e97e4aadb596b4ff68795cea06e62fde
-rw-r--r--redfish-core/include/schemas.hpp1
-rwxr-xr-xscripts/update_schemas.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/redfish-core/include/schemas.hpp b/redfish-core/include/schemas.hpp
index 89027f7f87..9418c1376f 100644
--- a/redfish-core/include/schemas.hpp
+++ b/redfish-core/include/schemas.hpp
@@ -10,6 +10,7 @@
* github organization.
***************************************************************/
// clang-format off
+#include <array>
namespace redfish
{
diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py
index 626c0d10a7..1c888173bd 100755
--- a/scripts/update_schemas.py
+++ b/scripts/update_schemas.py
@@ -379,6 +379,7 @@ with open(os.path.join(cpp_path, "schemas.hpp"), "w") as hpp_file:
"#pragma once\n"
"{WARNING}\n"
"// clang-format off\n"
+ "#include <array>\n"
"\n"
"namespace redfish\n"
"{{\n"