Fix group bug in cxx4, remove extraneous include from cxx4 examples.

This commit is contained in:
Russ Rew 2010-11-30 17:39:21 +00:00
parent 03f63a5f1c
commit 7db57da22a
8 changed files with 1 additions and 8 deletions

View File

@ -221,7 +221,7 @@ multimap<std::string,NcGroup> NcGroup::getGroups(NcGroup::GroupLocation location
map<string,NcGroup>::iterator it;
multimap<string,NcGroup> groups(getGroups(ChildrenGrps));
for (it=groups.begin();it!=groups.end();it++) {
multimap<string,NcGroup> childGroups(it->second.getGroups(ChildrenGrps));
multimap<string,NcGroup> childGroups(it->second.getGroups(AllChildrenGrps));
ncGroups.insert(childGroups.begin(),childGroups.end());
}
}

View File

@ -18,7 +18,6 @@
#include <iostream>
#include <netcdf>
#include <ncException.h>
using namespace std;
using namespace netCDF;
using namespace netCDF::exceptions;

View File

@ -17,7 +17,6 @@
#include <netcdf>
#include <iostream>
#include <string>
#include <ncException.h>
using namespace std;
using namespace netCDF;
using namespace netCDF::exceptions;

View File

@ -19,7 +19,6 @@
#include <iostream>
#include <string>
#include <netcdf>
#include <ncException.h>
using namespace std;
using namespace netCDF;
using namespace netCDF::exceptions;

View File

@ -18,7 +18,6 @@
#include <iostream>
#include <netcdf>
#include <ncException.h>
using namespace std;
using namespace netCDF;
using namespace netCDF::exceptions;

View File

@ -16,7 +16,6 @@
#include <iostream>
#include <netcdf>
#include <ncException.h>
using namespace std;
using namespace netCDF;
using namespace netCDF::exceptions;

View File

@ -18,7 +18,6 @@
#include <iostream>
#include <netcdf>
#include <vector>
#include <ncException.h>
using namespace std;
using namespace netCDF;
using namespace netCDF::exceptions;

View File

@ -18,7 +18,6 @@
#include <iostream>
#include <netcdf>
#include <vector>
#include <ncException.h>
using namespace std;
using namespace netCDF;
using namespace netCDF::exceptions;