1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-30 22:29:56 +00:00

Resolves a couple of missing #includes for cassert.

This commit is contained in:
Thomas Harte 2019-02-18 21:29:39 -05:00
parent d0b967ce53
commit b35b6b2ba8
2 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,7 @@
#ifndef Flywheel_hpp
#define Flywheel_hpp
#include <cassert>
#include <cstdlib>
#include <cstdint>
@ -109,9 +110,7 @@ struct Flywheel {
const int old_counter = counter_;
#endif
counter_ += cycles_advanced;
#ifndef NDEBUG
assert(old_counter <= counter_);
#endif
switch(event) {
default: return;

View File

@ -9,6 +9,7 @@
#ifndef OpenGL_h
#define OpenGL_h
#include <cassert>
#include <iostream>
// TODO: figure out correct include paths for other platforms.