Merge pull request #81 from jdduke/android_fix

Fix Android compilation with STLport
pull/83/head
Alexander Gessler 2013-08-21 03:12:12 -07:00
commit 8dc1043169
1 changed files with 3 additions and 2 deletions

View File

@ -38,6 +38,7 @@
#include <stdexcept>
#include <assert.h>
#include <cmath>
#include <string>
namespace p2t {
@ -137,8 +138,8 @@ struct Edge {
p = &p2;
} else if (p1.x == p2.x) {
// Repeat points
// ASSIMP_CHANGE (aramis_acg)
throw std::runtime_error("repeat points");
// ASSIMP_CHANGE (aramis_acg)
throw std::runtime_error(std::string("repeat points"));
//assert(false);
}
}