citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit c2fdbffe5b3b427f834ad9fac680b7c80a26b57f
parent 9bd02f46f348c66c5503d7e486ba6108054e29ef
Author: Kyle Milz <kyle@0x30.net>
Date:   Sun, 11 Dec 2016 20:40:09 -0700

src: move #include <assert.h> into the files that need it

Diffstat:
Msrc/demo-common.h | 1-
Msrc/demo-shader.cc | 1+
Msrc/gl_font.cc | 3+--
Msrc/gl_view.cc | 3++-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/demo-common.h b/src/demo-common.h @@ -25,7 +25,6 @@ #include <string.h> #include <stdio.h> #include <math.h> -#include <assert.h> #include <GL/glew.h> diff --git a/src/demo-shader.cc b/src/demo-shader.cc @@ -15,6 +15,7 @@ * * Google Author(s): Behdad Esfahbod */ +#include <assert.h> #include "demo-shader.h" diff --git a/src/gl_font.cc b/src/gl_font.cc @@ -15,9 +15,8 @@ * * Google Author(s): Behdad Esfahbod */ - +#include <assert.h> #include <err.h> - #include <unordered_map> #include <vector> diff --git a/src/gl_view.cc b/src/gl_view.cc @@ -15,6 +15,8 @@ * * Google Author(s): Behdad Esfahbod, Maysum Panju, Wojciech Baranowski */ +#include <sys/time.h> +#include <assert.h> #include "gl_view.h" @@ -23,7 +25,6 @@ extern "C" { #include "matrix4x4.h" } -#include <sys/time.h> void start_animation();