summaryrefslogtreecommitdiff
path: root/gi/pyp-topics/src/corpus.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gi/pyp-topics/src/corpus.cc')
-rw-r--r--gi/pyp-topics/src/corpus.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pyp-topics/src/corpus.cc b/gi/pyp-topics/src/corpus.cc
index 24b93a03..f182381f 100644
--- a/gi/pyp-topics/src/corpus.cc
+++ b/gi/pyp-topics/src/corpus.cc
@@ -11,7 +11,7 @@ using namespace std;
// Corpus
//////////////////////////////////////////////////
-Corpus::Corpus() {}
+Corpus::Corpus() : m_num_terms(0), m_num_types(0) {}
unsigned Corpus::read(const std::string &filename) {
m_num_terms = 0;