From 51b8bf1f01b64cb8c22dd25e9ac636b80ba8cd18 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 24 Aug 2011 09:37:34 +0800 Subject: fixes compile with c++0x --- src/lookup/pinyin_lookup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lookup/pinyin_lookup.h') diff --git a/src/lookup/pinyin_lookup.h b/src/lookup/pinyin_lookup.h index b8f2e58..a6f89e6 100644 --- a/src/lookup/pinyin_lookup.h +++ b/src/lookup/pinyin_lookup.h @@ -78,8 +78,8 @@ public: class PinyinLookup{ private: - static const gfloat bigram_lambda = LAMBDA_PARAMETER; - static const gfloat unigram_lambda = 1 - LAMBDA_PARAMETER; + static const gfloat bigram_lambda; + static const gfloat unigram_lambda; PhraseItem m_cache_phrase_item; protected: -- cgit