summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuest_account Guest_account prguest11 <prguest11@tiger.cs>2012-04-18 18:08:10 +0100
committerGuest_account Guest_account prguest11 <prguest11@tiger.cs>2012-04-18 18:08:10 +0100
commit467175c2f4aaf35720c25220dd45f8b8f2221682 (patch)
tree87fd9f2f67d5c92698422d6f2173aeb5499e8e52
parent206a30b912b2c425379ef23dbe0d8a61d3dea913 (diff)
fix mem alloc
-rw-r--r--rst_parser/global_ff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rst_parser/global_ff.cc b/rst_parser/global_ff.cc
index bb715f18..a7db977d 100644
--- a/rst_parser/global_ff.cc
+++ b/rst_parser/global_ff.cc
@@ -28,7 +28,7 @@ struct GFFImpl {
}
};
-GlobalFeatureFunctions::GlobalFeatureFunctions() {}
+GlobalFeatureFunctions::GlobalFeatureFunctions() : pimpl(new GFFImpl) {}
GlobalFeatureFunctions::~GlobalFeatureFunctions() { delete pimpl; }
void GlobalFeatureFunctions::PrepareForInput(const TaggedSentence& sentence) {