summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-09-07 15:55:59 +0800
committerPeng Wu <alexepico@gmail.com>2012-09-07 15:55:59 +0800
commitebe2e4da4b641915a33aeb574fd35ee1a155ff4f (patch)
tree8fbaf1119778ff13a5c93ee87366153c7bb9e53a
parentc899d022e0e922c8c40ffd33d144d8ba63bbeeb0 (diff)
downloadlibpinyin-ebe2e4da4b641915a33aeb574fd35ee1a155ff4f.zip
libpinyin-ebe2e4da4b641915a33aeb574fd35ee1a155ff4f.tar.gz
libpinyin-ebe2e4da4b641915a33aeb574fd35ee1a155ff4f.tar.xz
fixes compile
-rw-r--r--src/include/stl_lite.h6
-rw-r--r--src/lookup/Makefile.am2
2 files changed, 8 insertions, 0 deletions
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