aboutsummaryrefslogtreecommitdiff
path: root/src/control/OnscreenTimer.h
diff options
context:
space:
mode:
authorbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 21:49:33 +0600
committerbigbossbro08 <bigbossbro08@gmail.com>2020-05-10 21:49:33 +0600
commitc798e1bacdaabaf140ff3904948fd7cec46c09bb (patch)
treeef6d50874117bcc819b90dcd231d74f23fa0108d /src/control/OnscreenTimer.h
parentaf6e132b37e8b7e89e4c0c7a52e5bb81e4b1b9a8 (diff)
Fixed typos and made all assert functions optional
Diffstat (limited to 'src/control/OnscreenTimer.h')
-rw-r--r--src/control/OnscreenTimer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/OnscreenTimer.h b/src/control/OnscreenTimer.h
index fb139266..3ef7764a 100644
--- a/src/control/OnscreenTimer.h
+++ b/src/control/OnscreenTimer.h
@@ -26,7 +26,7 @@ public:
void ProcessForDisplayCounter();
};
-static_assert(sizeof(COnscreenTimerEntry) == 0x74, "COnscreenTimerEntry: error");
+VALIDATE_SIZE(COnscreenTimerEntry, 0x74);
class COnscreenTimer
{
@@ -46,4 +46,4 @@ public:
void AddClock(uint32 offset, char* text);
};
-static_assert(sizeof(COnscreenTimer) == 0x78, "COnscreenTimer: error"); \ No newline at end of file
+VALIDATE_SIZE(COnscreenTimer, 0x78);