Changeset 1610:d4dc6b81246b
- Timestamp:
- 03/02/10 15:48:30 (5 months ago)
- Branch:
- default
- File:
-
- 1 edited
-
apps/las2oci.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
apps/las2oci.cpp
r1601 r1610 19 19 #include <exception> 20 20 #include <algorithm> 21 #include <vector> 21 22 #include <cctype> 22 23 #include <cmath> … … 392 393 std::vector<liblas::uint8_t> point_data; 393 394 394 for (i=ids.begin(); i!=ids.end(); i++)395 for (i=ids.begin(); i!=ids.end(); ++i) 395 396 { 396 397 SpatialIndex::id_type id = *i; … … 405 406 if (!gotdata) { throw std::runtime_error("Unable to fetch Point Data"); exit(1);} 406 407 std::vector<liblas::uint8_t>::const_iterator d; 407 for (d = point_data.begin(); d!=point_data.end(); d++) {408 for (d = point_data.begin(); d!=point_data.end(); ++d) { 408 409 data.push_back(*d); 409 410 } … … 534 535 b->num_points[index] = (long)ids.size(); 535 536 537 // TODO: This probably is a memory leak if the gotdata == false --mloskot 536 538 std::vector<liblas::uint8_t>* blob = new std::vector<liblas::uint8_t>; 537 539 … … 764 766 ) 765 767 { 766 767 768 768 std::list<LASQueryResult>::const_iterator i; 769 770 771 769 772 770 long commit_interval = 1000;
Note: See TracChangeset
for help on using the changeset viewer.
