From ebe2e4da4b641915a33aeb574fd35ee1a155ff4f Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 7 Sep 2012 15:55:59 +0800 Subject: fixes compile --- src/include/stl_lite.h | 6 ++++++ src/lookup/Makefile.am | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/include/stl_lite.h b/src/include/stl_lite.h index e7b960b..5ad977d 100644 --- a/src/include/stl_lite.h +++ b/src/include/stl_lite.h @@ -35,5 +35,11 @@ namespace std_lite{ using std::equal_range; + using std::make_heap; + + + using std::pop_heap; + + } #endif diff --git a/src/lookup/Makefile.am b/src/lookup/Makefile.am index f11e448..3230966 100644 --- a/src/lookup/Makefile.am +++ b/src/lookup/Makefile.am @@ -23,6 +23,7 @@ INCLUDES = -I$(top_srcdir)/src/include \ noinst_HEADERS = lookup.h \ pinyin_lookup.h \ + pinyin_lookup2.h \ phrase_lookup.h \ winner_tree.h @@ -33,6 +34,7 @@ liblookup_la_CXXFLAGS = "-fPIC" liblookup_la_LDFLAGS = -static liblookup_la_SOURCES = pinyin_lookup.cpp \ + pinyin_lookup2.cpp \ winner_tree.cpp \ phrase_lookup.cpp \ lookup.cpp -- cgit