mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-29 04:33:04 +00:00
Resolves a couple of missing #includes for cassert
.
This commit is contained in:
parent
d0b967ce53
commit
b35b6b2ba8
@ -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;
|
||||
|
@ -9,6 +9,7 @@
|
||||
#ifndef OpenGL_h
|
||||
#define OpenGL_h
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
|
||||
// TODO: figure out correct include paths for other platforms.
|
||||
|
Loading…
x
Reference in New Issue
Block a user