Updated the synopsis for weak_ptr<T>::owner_before to match the code. No code changes.

llvm-svn: 189812
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 710a902caceb131374082effb287e5483d2097a3
diff --git a/include/memory b/include/memory
index 189e3b9..79cfe9d 100644
--- a/include/memory
+++ b/include/memory
@@ -496,8 +496,8 @@
     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: