From c4685293665af1d94d2952e2f90680f2a70768a5 Mon Sep 17 00:00:00 2001 From: Guest_account Guest_account prguest11 Date: Wed, 18 Apr 2012 18:08:10 +0100 Subject: fix mem alloc --- rst_parser/global_ff.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3