From ac667c529d6423f74f0b885ec8180d04f10b7240 Mon Sep 17 00:00:00 2001 From: Wesnydy Ribeiro Date: Wed, 27 Jul 2016 16:54:39 -0300 Subject: [PATCH] undo last modification --- extrator/src/extratorTXT.cpp | 5 ----- extrator/src/include/extratorTXT.h | 1 - 2 files changed, 0 insertions(+), 6 deletions(-) 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