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 | 467175c2f4aaf35720c25220dd45f8b8f2221682 (patch) | |
tree | 87fd9f2f67d5c92698422d6f2173aeb5499e8e52 /rst_parser/global_ff.cc | |
parent | 206a30b912b2c425379ef23dbe0d8a61d3dea913 (diff) |
fix mem alloc
Diffstat (limited to 'rst_parser/global_ff.cc')
-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) { |