diff --git a/extrator/src/extratorTXT.cpp b/extrator/src/extratorTXT.cpp index bc7b2aa..1aa17f0 100644 --- a/extrator/src/extratorTXT.cpp +++ b/extrator/src/extratorTXT.cpp @@ -55,10 +55,6 @@ void ExtratorTXT::encodingfiletoUTF8() { system(sedcmd.c_str()); } -void ExtratorTXT::remove_quotes(std::string &str) { - str.erase(std::remove(str.begin(), str.end(), '\"'), str.end()); -} - void ExtratorTXT::setFilePath(char* path){ this->filePath = path; encodingfiletoUTF8(); @@ -90,7 +86,6 @@ void ExtratorTXT::Run(){ getline(ifs_, current_line, '\n'); if (current_line.length() != 0) { - remove_quotes(current_line); notifyListeners((unsigned char*) current_line.c_str()); line_index++; } diff --git a/extrator/src/include/extratorTXT.h b/extrator/src/include/extratorTXT.h index dfd6b23..4a79e59 100644 --- a/extrator/src/include/extratorTXT.h +++ b/extrator/src/include/extratorTXT.h @@ -75,7 +75,6 @@ public: void Run(); private: - void remove_quotes(std::string &str); void encodingfiletoUTF8(); list *listeners; -- libgit2 0.21.2