diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-19 12:31:23 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-19 12:31:23 (GMT) |
commit | 702525f69c0c9b7dbeb9f07efd4d9acaf9ead65d (patch) | |
tree | 5f464d1bf7b63c29fc9d9f9c51fa2db1454fedda /src/dxfdata.cc | |
parent | ca03eec8404d36e6261f7a10ef93a528c083a09c (diff) |
cleanup for pull request
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; // |