summaryrefslogtreecommitdiffstats
path: root/indexlib/boost-compat/weak_ptr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/boost-compat/weak_ptr.hpp')
-rw-r--r--indexlib/boost-compat/weak_ptr.hpp6
1 files changed, 3 insertions, 3 deletions
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>();
}