diff options
author | Peng Huang <shawn.p.huang@gmail.com> | 2010-09-27 14:09:07 +0800 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2010-09-27 14:09:07 +0800 |
commit | a0b31c7a250cfa7af1b52056a1d1ada81b22a455 (patch) | |
tree | 8da3ce94a625c249e3e4b1ab81afcee7f4900236 /src/PYSpecialPhraseTable.h | |
parent | 27c2f7ea0ef69094db2dfc009bb661276fc90227 (diff) | |
download | ibus-libpinyin-a0b31c7a250cfa7af1b52056a1d1ada81b22a455.tar.gz ibus-libpinyin-a0b31c7a250cfa7af1b52056a1d1ada81b22a455.tar.xz ibus-libpinyin-a0b31c7a250cfa7af1b52056a1d1ada81b22a455.zip |
Add option --disable-boost to support build without boost
When build without boost, ibus-pinyin will use smart pointer
from c++0x and use the signal templates embedded instead of
boost::signals2.
BUG=chromium-os:5055
TEST=manual
Review URL: http://codereview.appspot.com/2205044
Diffstat (limited to 'src/PYSpecialPhraseTable.h')
-rw-r--r-- | src/PYSpecialPhraseTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PYSpecialPhraseTable.h b/src/PYSpecialPhraseTable.h index ff920b7..a246152 100644 --- a/src/PYSpecialPhraseTable.h +++ b/src/PYSpecialPhraseTable.h @@ -25,12 +25,12 @@ #include <string> #include <vector> #include <glib.h> -#include <boost/shared_ptr.hpp> +#include "PYUtil.h" namespace PY { class SpecialPhrase; -typedef boost::shared_ptr<SpecialPhrase> SpecialPhrasePtr; +typedef std::shared_ptr<SpecialPhrase> SpecialPhrasePtr; class SpecialPhraseTable { private: |