diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-18 20:44:46 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-18 20:44:46 (GMT) |
commit | 10c7607541e502f2d0ff7c2c49fd70809704c039 (patch) | |
tree | 668b8ff9ff4604e753d32ad29decb82f36a63313 /src/import.cc | |
parent | 9f6819e68501de16563aeaaadd65dfc915092169 (diff) |
more eigen3 fixes.
1. finish converting 'using namespace boost::filsystem' to 'namespace fs = boost::filesystem'.
2. initial version of changes to CMakelists.txt for the regression test
Diffstat (limited to 'src/import.cc')
-rw-r--r-- | src/import.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import.cc b/src/import.cc index 2f08b11..1073459 100644 --- a/src/import.cc +++ b/src/import.cc @@ -80,7 +80,7 @@ AbstractNode *ImportModule::evaluate(const Context *ctx, const ModuleInstantiati std::string filename = c.getAbsolutePath(v.isUndefined() ? "" : v.toString()); import_type_e actualtype = this->type; if (actualtype == TYPE_UNKNOWN) { - std::string extraw = boosty::extension_str( path(filename) ); + std::string extraw = boosty::extension_str( fs::path(filename) ); std::string ext = boost::algorithm::to_lower_copy( extraw ); if (ext == ".stl") actualtype = TYPE_STL; else if (ext == ".off") actualtype = TYPE_OFF; |