diff options
Diffstat (limited to 'src/dxfdata.cc')
-rw-r--r-- | src/dxfdata.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/dxfdata.cc b/src/dxfdata.cc index 080e780..0e18dd0 100644 --- a/src/dxfdata.cc +++ b/src/dxfdata.cc @@ -39,7 +39,6 @@ #include <boost/algorithm/string.hpp> #include <algorithm> #include <sstream> -#include <map> #include <QDir> #include "value.h" @@ -85,8 +84,7 @@ DxfData::DxfData(double fn, double fs, double fa, Grid2d< std::vector<int> > grid(GRID_COARSE); std::vector<Line> lines; // Global lines - //boost::unordered_map< std::string, std::vector<Line> > blockdata; // Lines in blocks - std::map< std::string, std::vector<Line> > blockdata; // Lines in blocks + boost::unordered_map< std::string, std::vector<Line> > blockdata; // Lines in blocks bool in_entities_section = false; bool in_blocks_section = false; @@ -124,8 +122,7 @@ DxfData::DxfData(double fn, double fs, double fa, for (int j = 0; j < 2; j++) coords[i][j] = 0; - //typedef boost::unordered_map<std::string, int> EntityList; - typedef std::map<std::string, int> EntityList; + typedef boost::unordered_map<std::string, int> EntityList; EntityList unsupported_entities_list; // |