summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2023-10-27 22:43:44 +0300
committerEd Tanous <ed@tanous.net>2023-11-06 08:48:10 +0300
commit06a63974577071c6b4525f7eaeb7dae55b3a7a4d (patch)
tree7c31d9570e4d542dd8e9c0f2f624944dc5e20c1d /redfish-core
parent59a17e4f40c78c6ee04f68a369fb9c041f64122d (diff)
downloadbmcweb-06a63974577071c6b4525f7eaeb7dae55b3a7a4d.tar.xz
Move date_h to pragma once
Change-Id: I04864e8c47c8bb1763016b6ba1e5826450afdc72 Signed-off-by: Ed Tanous <edtanous@google.com>
Diffstat (limited to 'redfish-core')
-rw-r--r--redfish-core/include/utils/extern/date.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/redfish-core/include/utils/extern/date.h b/redfish-core/include/utils/extern/date.h
index ebeaeb1f68..23f7d0c0bf 100644
--- a/redfish-core/include/utils/extern/date.h
+++ b/redfish-core/include/utils/extern/date.h
@@ -1,3 +1,4 @@
+#pragma once
// NOLINTBEGIN
// clang-format off
@@ -6,9 +7,6 @@
* https://github.com/HowardHinnant/date/blob/master/include/date/date.h
*/
-#ifndef DATE_H
-#define DATE_H
-
// The MIT License (MIT)
//
// Copyright (c) 2015, 2016, 2017 Howard Hinnant
@@ -8250,5 +8248,3 @@ operator<<(std::basic_ostream<CharT, Traits>& os,
// NOLINTEND
// clang-format off
-
-#endif // DATE_H