diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-07-15 19:29:14 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-07-15 19:29:14 (GMT) |
commit | 8cc442369fa95b61b2a475f7cd1d63f3ab7ca713 (patch) | |
tree | ad2ca17f6c2239a608650dea912f48a835c8368d /src/import.cc | |
parent | 1b38030f7e243c4eeb288d07084a99ff1e616e85 (diff) |
fix bugs in build
Diffstat (limited to 'src/import.cc')
-rw-r--r-- | src/import.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import.cc b/src/import.cc index 9d011b0..dc40c8d 100644 --- a/src/import.cc +++ b/src/import.cc @@ -118,7 +118,7 @@ PolySet *ImportNode::evaluate_polyset(class PolySetEvaluator *) const if (this->type == TYPE_STL) { - handle_dep(this->filename); + handle_dep((std::string)this->filename); std::ifstream f(this->filename.c_str(), std::ios::in | std::ios::binary); if (!f.good()) { PRINTB("WARNING: Can't open import file '%s'.", this->filename); @@ -237,7 +237,7 @@ PolySet *ImportNode::evaluate_polyset(class PolySetEvaluator *) const std::string ImportNode::toString() const { std::stringstream stream; - fs::path path(this->filename); + fs::path path((std::string)this->filename); stream << this->name(); stream << "(file = " << this->filename << ", " |