summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_schemas.py1
1 files changed, 1 insertions, 0 deletions
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"