Skip to content

Commit

Permalink
fixup: common: utils: array_copy: remove specific diagnostics from th…
Browse files Browse the repository at this point in the history
…e function
  • Loading branch information
dzarukin authored and Radu2k committed Dec 2, 2024
1 parent 7f23c16 commit 937c658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ inline void array_copy(T *dst, const T *src, size_t size) {
for (size_t i = 0; i < size; ++i)
dst[i] = src[i];
}
#if defined(__GNUC__) && !defined(__clang__)
#if defined(__GNUC__) && __GNUC__ > 8 && !defined(__clang__)
#pragma GCC diagnostic pop
#endif

Expand Down

0 comments on commit 937c658

Please sign in to comment.