]> git.donarmstrong.com Git - mothur.git/blobdiff - shared.cpp
version working on mac with .tellg changed to unget for windows
[mothur.git] / shared.cpp
index 73f283ae7b697c95ec5eacf5195a809162ca94a8..b15ef93f32b58f7b294704cbe44aaa90472cf349 100644 (file)
@@ -21,6 +21,7 @@ void Shared::getSharedVectors(SharedListVector* list) {
                int i,j;
                label = list->getLabel();
                
+               for (it = sharedGroups.begin(); it != sharedGroups.end(); it++) {  delete it->second;  }
                sharedGroups.clear();  //removes old info.
                
                //initalize sharedGroups 
@@ -39,7 +40,7 @@ void Shared::getSharedVectors(SharedListVector* list) {
                }
                
                //updates sharedVector
-               sharedRAbund.push_back(sharedGroups);
+               //sharedRAbund.push_back(sharedGroups);
 }