Skip to content

Commit e1a2121

Browse files
committed
πŸ›  stringop overflow bug checks and #endif comment removal
1 parent f1f073d commit e1a2121

File tree

9 files changed

+9
-8
lines changed

9 files changed

+9
-8
lines changed

β€Žinclude/ztd/static_containers.hppβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
#include <ztd/static_containers/static_string.hpp>
2222
#include <ztd/static_containers/is.hpp>
2323

24-
#endif // ZTD_STATIC_CONTAINERS_HPP
24+
#endif

β€Žinclude/ztd/static_containers/detail/storage.hppβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,4 @@ namespace ztd {
251251

252252
} // namespace ztd
253253

254-
#endif // ZTD_STATIC_CONTAINERS_DETAIL_STORAGE_HPP
254+
#endif

β€Žinclude/ztd/static_containers/forward.hppβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ namespace ztd {
3232
ZTD_STATIC_CONTAINERS_INLINE_ABI_NAMESPACE_CLOSE_I_
3333
} // namespace ztd
3434

35-
#endif // ZTD_STATIC_CONTAINERS_FORWARD_HPP
35+
#endif

β€Žinclude/ztd/static_containers/is.hppβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ namespace ztd {
4747
ZTD_STATIC_CONTAINERS_INLINE_ABI_NAMESPACE_CLOSE_I_
4848
} // namespace ztd
4949

50-
#endif // ZTD_STATIC_CONTAINERS_IS_HPP
50+
#endif

β€Žinclude/ztd/static_containers/static_basic_string.hppβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,4 +456,4 @@ namespace ztd {
456456

457457
} // namespace ztd
458458

459-
#endif // ZTD_STATIC_CONTAINERS_STATIC_BASIC_STRING_HPP
459+
#endif

β€Žinclude/ztd/static_containers/static_string.hppβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ namespace ztd {
4444

4545
} // namespace ztd
4646

47-
#endif // ZTD_STATIC_CONTAINERS_STATIC_STRING_HPP
47+
#endif

β€Žinclude/ztd/static_containers/static_vector.hppβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,4 +697,4 @@ namespace ztd {
697697

698698
} // namespace ztd
699699

700-
#endif // ZTD_STATIC_CONTAINERS_STATIC_VECTOR_HPP
700+
#endif

β€Žinclude/ztd/static_containers/version.hppβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@
3838

3939
// clang-format on
4040

41-
#endif // ZTD_STATIC_CONTAINERS_VERSION_HPP
41+
#endif

β€Žtests/basic/CMakeLists.txtβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ target_compile_options(ztd.static_containers.tests.basic
3737
${--extra-constexpr-depth}
3838
${--extra-constexpr-steps}
3939
${--allow-zero-variadic-macro-arguments}
40+
${--allow-stringop-overflow}
4041
)
4142
target_link_libraries(ztd.static_containers.tests.basic
4243
PRIVATE

0 commit comments

Comments
Β (0)