mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Fix group bug in cxx4, remove extraneous include from cxx4 examples.
This commit is contained in:
parent
03f63a5f1c
commit
7db57da22a
@ -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());
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <netcdf>
|
||||
#include <ncException.h>
|
||||
using namespace std;
|
||||
using namespace netCDF;
|
||||
using namespace netCDF::exceptions;
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include <netcdf>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <ncException.h>
|
||||
using namespace std;
|
||||
using namespace netCDF;
|
||||
using namespace netCDF::exceptions;
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <netcdf>
|
||||
#include <ncException.h>
|
||||
using namespace std;
|
||||
using namespace netCDF;
|
||||
using namespace netCDF::exceptions;
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <netcdf>
|
||||
#include <ncException.h>
|
||||
using namespace std;
|
||||
using namespace netCDF;
|
||||
using namespace netCDF::exceptions;
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <netcdf>
|
||||
#include <ncException.h>
|
||||
using namespace std;
|
||||
using namespace netCDF;
|
||||
using namespace netCDF::exceptions;
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include <iostream>
|
||||
#include <netcdf>
|
||||
#include <vector>
|
||||
#include <ncException.h>
|
||||
using namespace std;
|
||||
using namespace netCDF;
|
||||
using namespace netCDF::exceptions;
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include <iostream>
|
||||
#include <netcdf>
|
||||
#include <vector>
|
||||
#include <ncException.h>
|
||||
using namespace std;
|
||||
using namespace netCDF;
|
||||
using namespace netCDF::exceptions;
|
||||
|
Loading…
Reference in New Issue
Block a user