]> git.donarmstrong.com Git - mothur.git/blobdiff - inputdata.cpp
This is v.1.4.0
[mothur.git] / inputdata.cpp
index 05eaaca210ce4fe1fc5413a6feb9a9347bb7206b..b4373c9ea057636634929f4b8e1e3d63398fdeec 100644 (file)
@@ -24,7 +24,7 @@ InputData::InputData(string fName, string f) : format(f){
 
 
 InputData::~InputData(){
-       
+       fileHandle.close();
 //     delete output;
        
 }
@@ -72,7 +72,7 @@ ListVector* InputData::getListVector(){
                        return list;
                }
                else{
-                       return 0;
+                       return NULL;
                }
        }
        catch(exception& e) {
@@ -98,7 +98,7 @@ SharedListVector* InputData::getSharedListVector(){
                        return SharedList;
                }
                else{
-                       return 0;
+                       return NULL;
                }
        }
        catch(exception& e) {
@@ -124,7 +124,7 @@ SharedOrderVector* InputData::getSharedOrderVector(){
                        return SharedOrder;
                        
                }else{
-                       return 0;
+                       return NULL;
                }
        }
        catch(exception& e) {
@@ -170,7 +170,7 @@ OrderVector* InputData::getOrderVector(){
                        return output;
                }
                else{
-                       return 0;
+                       return NULL;
                }
        }
        catch(exception& e) {
@@ -246,7 +246,7 @@ SAbundVector* InputData::getSAbundVector(){
                        return sabund;
                }
                else{
-                       return 0;
+                       return NULL;
                }
        }
        catch(exception& e) {