chore: more OTX to ETX housekeeping (#5396)

This commit is contained in:
Peter Feerick
2024-08-14 21:02:29 +10:00
committed by GitHub
parent 0768091fe1
commit 839cfbd53c
487 changed files with 537 additions and 1651 deletions
+1 -4
View File
@@ -19,8 +19,7 @@
* GNU General Public License for more details.
*/
#ifndef CHKSIZE_H
#define CHKSIZE_H
#pragma once
#include <inttypes.h>
@@ -28,5 +27,3 @@ template <typename ToCheck, size_t expectedSize, size_t realSize = sizeof(ToChec
void check_size() {
static_assert(expectedSize == realSize, "struct size changed");
}
#endif