mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-02 20:30:00 +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
|
#ifndef Flywheel_hpp
|
||||||
#define Flywheel_hpp
|
#define Flywheel_hpp
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
@ -109,9 +110,7 @@ struct Flywheel {
|
||||||
const int old_counter = counter_;
|
const int old_counter = counter_;
|
||||||
#endif
|
#endif
|
||||||
counter_ += cycles_advanced;
|
counter_ += cycles_advanced;
|
||||||
#ifndef NDEBUG
|
|
||||||
assert(old_counter <= counter_);
|
assert(old_counter <= counter_);
|
||||||
#endif
|
|
||||||
|
|
||||||
switch(event) {
|
switch(event) {
|
||||||
default: return;
|
default: return;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#ifndef OpenGL_h
|
#ifndef OpenGL_h
|
||||||
#define OpenGL_h
|
#define OpenGL_h
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
// TODO: figure out correct include paths for other platforms.
|
// TODO: figure out correct include paths for other platforms.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user