Skip to content

Commit

Permalink
Reverted from Xenial to Trusty.
Browse files Browse the repository at this point in the history
The g++ compiler does not support some of my c++11 code.
  • Loading branch information
RicardoEPRodrigues committed May 16, 2020
1 parent ab117a7 commit a47509c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: cpp
os: linux
dist: trusty
dist: xenial
compiler:
- gcc
before_install:
Expand Down
1 change: 1 addition & 0 deletions 3EngineExecutable/src/LightScene/LightScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Copyright (C) Ricardo Rodrigues 2017 - All Rights Reserved
*/
#include <cmath>
#include <ctime>
#include "LightScene.h"

#include "../../../3Engine/src/Shapes/MeshLoader.h"
Expand Down
4 changes: 2 additions & 2 deletions 3EngineTests/src/MatrixTests.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,14 @@ SCENARIO("matrix arithmetic testing", "[matrix]") {
THEN("vector +-*/ number") {

CHECK((m + 1.0f) == Matrix(2));
CHECK((m - 1.0f) == Matrix((const number) 0));
CHECK((m - 1.0f) == Matrix((number) 0));
CHECK((m * 2.0f) == Matrix(2));
CHECK((m / 2.0f) == Matrix(.5f));
}

THEN("number +-*/ vector") {
CHECK((1.0f + m) == Matrix(2));
CHECK((1.0f - m) == Matrix((const number) 0));
CHECK((1.0f - m) == Matrix((number) 0));
CHECK((2.0f * m) == Matrix(2));
CHECK((2.0f / m) == Matrix(2));
}
Expand Down

0 comments on commit a47509c

Please sign in to comment.