Prefix array with tr1 to accomodate older compilers

This commit is contained in:
Thomas Krijnen
2013-05-13 07:12:42 +00:00
parent 1d1fd49608
commit 12a0571bf4
3 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -20,7 +20,7 @@
#ifndef IFCGEOMRENDERSTYLES_H
#define IFCGEOMRENDERSTYLES_H
#include <array>
#include <tr1/array>
#include "../ifcparse/Ifc2x3.h"
@@ -29,7 +29,7 @@ namespace IfcGeom {
public:
class ColorComponent {
private:
std::array<double, 3> data;
std::tr1::array<double, 3> data;
public:
ColorComponent(double r, double g, double b) {
data[0] = r; data[1] = g; data[2] = b;