Commit a52947e6 authored by thillux's avatar thillux
Browse files

dup code removed again

parent 6f84804e
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -66,8 +66,3 @@ double InternetUsageStatistics::operator[](std::string& countryName) {
    sqlite3_reset(_stmt);
    return result;
}

InternetUsageStatistics::~InternetUsageStatistics() {
    sqlite3_finalize(_stmt);
    sqlite3_close(_sqliteDB);
}
+0 −2
Original line number Diff line number Diff line
@@ -39,8 +39,6 @@ class InternetUsageStatistics : public SQLiteReader {

    double operator[](std::string& countryName);

    virtual ~InternetUsageStatistics();

   private:
};

+0 −5
Original line number Diff line number Diff line
@@ -90,8 +90,3 @@ std::string LandingPointReader::getContinentLandingPoint(std::string name) {

    return result;
}

LandingPointReader::~LandingPointReader() {
    sqlite3_finalize(_stmt);
    sqlite3_close(_sqliteDB);
}
+0 −1
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ class LandingPointReader : public SQLiteReader, public ResultIterator<SeaCableLa
   public:
    LandingPointReader(std::string dbName);
    SeaCableLandingPoint getNext();
    virtual ~LandingPointReader();

   private:

+0 −5
Original line number Diff line number Diff line
@@ -89,8 +89,3 @@ PopulatedPosition SQLiteAreaPopulationReader::getNext() {
    }
    return pp;
}

SQLiteAreaPopulationReader::~SQLiteAreaPopulationReader() {
    sqlite3_finalize(_stmt);
    sqlite3_close(_sqliteDB);
}
Loading