Fix Android compilation with STLport
Satisfy STLport's runtime_error constructor with an explicit string argument.pull/81/head
parent
7db5dcb357
commit
9f2336e5d4
|
@ -38,6 +38,7 @@
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
namespace p2t {
|
namespace p2t {
|
||||||
|
|
||||||
|
@ -137,8 +138,8 @@ struct Edge {
|
||||||
p = &p2;
|
p = &p2;
|
||||||
} else if (p1.x == p2.x) {
|
} else if (p1.x == p2.x) {
|
||||||
// Repeat points
|
// Repeat points
|
||||||
// ASSIMP_CHANGE (aramis_acg)
|
// ASSIMP_CHANGE (aramis_acg)
|
||||||
throw std::runtime_error("repeat points");
|
throw std::runtime_error(std::string("repeat points"));
|
||||||
//assert(false);
|
//assert(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue