diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-19 04:02:39 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-19 04:02:39 (GMT) |
commit | d656f556b85fb25903d5f18c6a9557d6ed0e6f7d (patch) | |
tree | dc28c5a2ee8fbad8fd1480a2f67a0e9fe5298f14 /src/dxfdata.cc | |
parent | aa2c67d24925a8b9465d5a908662091b705cf7cc (diff) |
debugging failed test: throwntogethertest polygons
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; // |