summaryrefslogtreecommitdiff
path: root/rst_parser
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
commitc4685293665af1d94d2952e2f90680f2a70768a5 (patch)
tree4de95eca69b1f8297e1889498ffd8b56614da295 /rst_parser
parentd4e9d2678903d92115f981097debf305876b7180 (diff)
fix mem alloc
Diffstat (limited to 'rst_parser')
-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) {