summaryrefslogtreecommitdiffstats
path: root/indexlib/boost-compat
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/boost-compat')
-rw-r--r--indexlib/boost-compat/shared_ptr.hpp2
-rw-r--r--indexlib/boost-compat/weak_ptr.hpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/indexlib/boost-compat/shared_ptr.hpp b/indexlib/boost-compat/shared_ptr.hpp
index ec88ae2e1..0a3bf6d86 100644
--- a/indexlib/boost-compat/shared_ptr.hpp
+++ b/indexlib/boost-compat/shared_ptr.hpp
@@ -445,7 +445,7 @@ template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::
#if (defined(__GNUC__) && (__GNUC__ < 3)) || (defined(__EDG_VERSION__) && (__EDG_VERSION__ <= 238))
// g++ 2.9x doesn't allow static_cast<X const *>(void *)
-// aptqparently EDG 2.38 also doesn't accept it
+// apparently EDG 2.38 also doesn't accept it
template<class D, class T> D * get_deleter(shared_ptr<T> const & p)
{
diff --git a/indexlib/boost-compat/weak_ptr.hpp b/indexlib/boost-compat/weak_ptr.hpp
index 8a0637847..c23850079 100644
--- a/indexlib/boost-compat/weak_ptr.hpp
+++ b/indexlib/boost-compat/weak_ptr.hpp
@@ -51,11 +51,11 @@ public:
//
// has a serious problem.
//
-// r.px may already have been tqinvalidated. The px(r.px)
+// r.px may already have been invalidated. The px(r.px)
// conversion may require access to *r.px (virtual inheritance).
//
// It is not possible to avoid spurious access violations since
-// in multithreaded programs r.px may be tqinvalidated at any point.
+// in multithreaded programs r.px may be invalidated at any point.
//
template<class Y>
@@ -106,7 +106,7 @@ public:
catch(bad_weak_ptr const &)
{
// Q: how can we get here?
- // A: another thread may have tqinvalidated r after the use_count test above.
+ // A: another thread may have invalidated r after the use_count test above.
return shared_ptr<element_type>();
}