chore: more OTX to ETX housekeeping (#5396)
This commit is contained in:
+1
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user