summaryrefslogtreecommitdiffstats
path: root/src/PYConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/PYConfig.h')
-rw-r--r--src/PYConfig.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PYConfig.h b/src/PYConfig.h
index 9bbb503..6db9c83 100644
--- a/src/PYConfig.h
+++ b/src/PYConfig.h
@@ -22,8 +22,8 @@
#define __PY_CONFIG_H_
#include <string>
-#include <boost/scoped_ptr.hpp>
#include <ibus.h>
+#include "PYUtil.h"
#include "PYObject.h"
namespace PY {
@@ -118,7 +118,7 @@ protected:
const GValue *value);
private:
- static boost::scoped_ptr<PinyinConfig> m_instance;
+ static std::unique_ptr<PinyinConfig> m_instance;
};
/* Bopomof Config */
@@ -136,7 +136,7 @@ protected:
const GValue *value);
private:
- static boost::scoped_ptr<BopomofoConfig> m_instance;
+ static std::unique_ptr<BopomofoConfig> m_instance;
};
};