diff options
Diffstat (limited to 'src/dxfdim.cc')
-rw-r--r-- | src/dxfdim.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/dxfdim.cc b/src/dxfdim.cc index 6f1b0ab..872637b 100644 --- a/src/dxfdim.cc +++ b/src/dxfdim.cc @@ -36,11 +36,8 @@ #include <sstream> #include <boost/filesystem.hpp> -//boost::unordered_map<std::string,Value> dxf_dim_cache; -//boost::unordered_map<std::string,Value> dxf_cross_cache; -#include <map> -std::map<std::string,Value> dxf_dim_cache; -std::map<std::string,Value> dxf_cross_cache; +boost::unordered_map<std::string,Value> dxf_dim_cache; +boost::unordered_map<std::string,Value> dxf_cross_cache; namespace fs = boost::filesystem; Value builtin_dxf_dim(const Context *ctx, const std::vector<std::string> &argnames, const std::vector<Value> &args) @@ -186,7 +183,6 @@ Value builtin_dxf_cross(const Context *ctx, const std::vector<std::string> &argn return dxf_cross_cache[key] = Value(ret); } } - PRINTB("WARNING: Can't find cross in '%s', layer '%s'!", filename % layername); return Value(); } |