diff options
Diffstat (limited to 'src/dxfdim.cc')
-rw-r--r-- | src/dxfdim.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dxfdim.cc b/src/dxfdim.cc index dfe8c13..6f1b0ab 100644 --- a/src/dxfdim.cc +++ b/src/dxfdim.cc @@ -36,9 +36,11 @@ #include <sstream> #include <boost/filesystem.hpp> - -boost::unordered_map<std::string,Value> dxf_dim_cache; -boost::unordered_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; +#include <map> +std::map<std::string,Value> dxf_dim_cache; +std::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) |