yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10150
[Branch ~yade-pkg/yade/git-trunk] Rev 3722: removed typenames from Polyhedra.cpp, make gcc < version 4.7 happy
------------------------------------------------------------
revno: 3722
committer: Christian Jakob <jakob@xxxxxxxxxxxxxxxxxxx>
timestamp: Thu 2013-10-17 13:59:10 +0200
message:
removed typenames from Polyhedra.cpp, make gcc < version 4.7 happy
modified:
pkg/dem/Polyhedra.cpp
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/dem/Polyhedra.cpp'
--- pkg/dem/Polyhedra.cpp 2013-10-16 15:24:49 +0000
+++ pkg/dem/Polyhedra.cpp 2013-10-17 11:59:10 +0000
@@ -197,9 +197,9 @@
Triangulation dt(nuclei.begin(), nuclei.end());
Triangulation::Vertex_handle zero_point = dt.insert(CGALpoint(5.,5.,5.));
v.clear();
- std::vector<typename Triangulation::Cell_handle> ch_cells;
+ std::vector<Triangulation::Cell_handle> ch_cells;
dt.incident_cells(zero_point,std::back_inserter(ch_cells));
- for(std::vector<typename Triangulation::Cell_handle>::iterator ci = ch_cells.begin(); ci !=ch_cells.end(); ++ci){
+ for(std::vector<Triangulation::Cell_handle>::iterator ci = ch_cells.begin(); ci !=ch_cells.end(); ++ci){
v.push_back(FromCGALPoint(dt.dual(*ci))-Vector3r(5.,5.,5.));
}