projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7568f71
)
[libc++] Mark some members private in experimental/functional
author
Joe Loser
<joeloser93@gmail.com>
Mon, 7 Feb 2022 00:47:45 +0000
(19:47 -0500)
committer
Joe Loser
<joeloser93@gmail.com>
Mon, 7 Feb 2022 23:06:56 +0000
(18:06 -0500)
Some members are public but should be private. Nothing requires they are public
right now, so make them private.
Differential Revision: https://reviews.llvm.org/D119097
libcxx/include/experimental/functional
patch
|
blob
|
history
diff --git
a/libcxx/include/experimental/functional
b/libcxx/include/experimental/functional
index
4e081e8
..
9fb5bf9
100644
(file)
--- a/
libcxx/include/experimental/functional
+++ b/
libcxx/include/experimental/functional
@@
-144,7
+144,6
@@
template<class _Key, class _Value, class _Hash, class _BinaryPredicate, bool /*u
// General case for BM data searching; use a map
template<class _Key, typename _Value, class _Hash, class _BinaryPredicate>
class _BMSkipTable<_Key, _Value, _Hash, _BinaryPredicate, false> {
-public: // TODO private:
typedef _Value value_type;
typedef _Key key_type;
@@
-253,7
+252,7
@@
public:
return this->__search(__f, __l);
}
-p
ublic: // TODO p
rivate:
+private:
_RandomAccessIterator1 __first_;
_RandomAccessIterator1 __last_;
_BinaryPredicate __pred_;