Skip to content
Snippets Groups Projects
Commit 0c62e4eb authored by unknown's avatar unknown
Browse files

fix one c++ UB in corpus2_whole

parent 70a3893c
Branches
No related merge requests found
...@@ -30,6 +30,10 @@ CorpusReader::CorpusReader(const Tagset& tagset, const std::string& corpus_type) ...@@ -30,6 +30,10 @@ CorpusReader::CorpusReader(const Tagset& tagset, const std::string& corpus_type)
// //
} }
CorpusReader::~CorpusReader()
{
}
boost::shared_ptr<Corpus> CorpusReader::read(const std::string& corpus_file_path) boost::shared_ptr<Corpus> CorpusReader::read(const std::string& corpus_file_path)
{ {
try { try {
......
...@@ -36,6 +36,8 @@ public: ...@@ -36,6 +36,8 @@ public:
*/ */
CorpusReader(const Tagset& tagset, const std::string& corpus_type); CorpusReader(const Tagset& tagset, const std::string& corpus_type);
virtual ~CorpusReader();
/** /**
* Reads corpus from given path * Reads corpus from given path
* @arg corpus_file Path to file contains paths to corpus files. * @arg corpus_file Path to file contains paths to corpus files.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment