added c++11 fixes for android

This commit is contained in:
k-a-z-u
2018-07-11 12:29:32 +02:00
parent ba9c8359d7
commit 7ee4e122e8
4 changed files with 6 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
#include "../../../fixC11.h"
#include "GridRenderer.h"
#include <QOpenGLWidget>
@@ -58,7 +60,7 @@ void GridRenderer::rebuildIfNeeded(GridModel* model) {
std::unordered_set<uint64_t> used;
for (MyNode& n1 : *grid) {
glColor3f(0.5, 0.5, 0.5);
//glColor3f(0.5, 0.5, 0.5);
for (MyNode& n2 : grid->neighbors(n1)) {
uint64_t min = std::min(n1.getIdx(), n2.getIdx());
uint64_t max = std::max(n1.getIdx(), n2.getIdx());