mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-09 05:25:01 +00:00
Resolves a couple of missing #includes for cassert
.
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user