From 1b5f3adcef171c28e832363139aab86f08e80b36 Mon Sep 17 00:00:00 2001 From: Marshall Clow <mclow.lists@gmail.com> Date: Tue, 3 Sep 2013 14:37:50 +0000 Subject: [PATCH] Updated the synopsis for weak_ptr<T>::owner_before to match the code. No code changes. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@189812 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/memory | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/memory b/include/memory index 189e3b90..79cfe9df 100644 --- a/include/memory +++ b/include/memory @@ -496,8 +496,8 @@ public: long use_count() const noexcept; bool expired() const noexcept; shared_ptr<T> lock() const noexcept; - template<class U> bool owner_before(shared_ptr<U> const& b); - template<class U> bool owner_before(weak_ptr<U> const& b); + template<class U> bool owner_before(shared_ptr<U> const& b) const; + template<class U> bool owner_before(weak_ptr<U> const& b) const; }; // weak_ptr specialized algorithms: