aboutsummaryrefslogtreecommitdiff
path: root/libcxx
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2013-09-03 14:37:50 +0000
committerMarshall Clow <mclow.lists@gmail.com>2013-09-03 14:37:50 +0000
commit710a902caceb131374082effb287e5483d2097a3 (patch)
tree30f9ec60ebc23f83bca74e7b117f724a9404b7d9 /libcxx
parente892ccec0d3c3c471cc2d7feac41bdbf1e630502 (diff)
downloadllvm-710a902caceb131374082effb287e5483d2097a3.zip
llvm-710a902caceb131374082effb287e5483d2097a3.tar.gz
llvm-710a902caceb131374082effb287e5483d2097a3.tar.bz2
Updated the synopsis for weak_ptr<T>::owner_before to match the code. No code changes.
llvm-svn: 189812
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/memory4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/memory b/libcxx/include/memory
index 189e3b9..79cfe9d 100644
--- a/libcxx/include/memory
+++ b/libcxx/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: