diff options
Diffstat (limited to 'src/dxfdata.cc')
-rw-r--r-- | src/dxfdata.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dxfdata.cc b/src/dxfdata.cc index 4258a4c..080e780 100644 --- a/src/dxfdata.cc +++ b/src/dxfdata.cc @@ -85,7 +85,8 @@ 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 + //boost::unordered_map< std::string, std::vector<Line> > blockdata; // Lines in blocks + std::map< std::string, std::vector<Line> > blockdata; // Lines in blocks bool in_entities_section = false; bool in_blocks_section = false; @@ -123,7 +124,8 @@ 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 boost::unordered_map<std::string, int> EntityList; + typedef std::map<std::string, int> EntityList; EntityList unsupported_entities_list; // |