diff options
author | Guest_account Guest_account prguest11 <prguest11@tiger.cs> | 2012-04-18 18:08:10 +0100 |
---|---|---|
committer | Guest_account Guest_account prguest11 <prguest11@tiger.cs> | 2012-04-18 18:08:10 +0100 |
commit | c4685293665af1d94d2952e2f90680f2a70768a5 (patch) | |
tree | 4de95eca69b1f8297e1889498ffd8b56614da295 | |
parent | d4e9d2678903d92115f981097debf305876b7180 (diff) |
fix mem alloc
-rw-r--r-- | rst_parser/global_ff.cc | 2 |
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) { |