Skip to content
Snippets Groups Projects
Commit 9f602569 authored by Nicolas Marsic's avatar Nicolas Marsic
Browse files

Context.h : Remove double semicolmn -- BasisFactory.cpp : ClearAll : incrementing interators

parent 2869ee57
Branches
Tags
No related merge requests found
......@@ -154,7 +154,7 @@ class CTX {
double lc;
// double buffer/antialias/stereo graphics?
int db, antialiasing, stereo, camera ;
bool fileread; ;
bool fileread;
double eye_sep_ratio,focallength_ratio,camera_aperture;
// orthogonal projection?
int ortho;
......
......@@ -77,18 +77,21 @@ void BasisFactory::clearAll()
std::map<int, nodalBasis*>::iterator itF = fs.begin();
while (itF != fs.end()) {
delete itF->second;
itF++;
}
fs.clear();
std::map<int, JacobianBasis*>::iterator itJ = js.begin();
while (itJ != js.end()) {
delete itJ->second;
itJ++;
}
js.clear();
std::map<int, bezierBasis*>::iterator itB = bs.begin();
while (itB != bs.end()) {
delete itB->second;
itB++;
}
bs.clear();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment