Skip to content

Commit 66dea85

Browse files
committed
[libc++] Mark some members private in experimental/functional
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
1 parent 7568f71 commit 66dea85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libcxx/include/experimental/functional

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ template<class _Key, class _Value, class _Hash, class _BinaryPredicate, bool /*u
144144
// General case for BM data searching; use a map
145145
template<class _Key, typename _Value, class _Hash, class _BinaryPredicate>
146146
class _BMSkipTable<_Key, _Value, _Hash, _BinaryPredicate, false> {
147-
public: // TODO private:
148147
typedef _Value value_type;
149148
typedef _Key key_type;
150149

@@ -253,7 +252,7 @@ public:
253252
return this->__search(__f, __l);
254253
}
255254

256-
public: // TODO private:
255+
private:
257256
_RandomAccessIterator1 __first_;
258257
_RandomAccessIterator1 __last_;
259258
_BinaryPredicate __pred_;

0 commit comments

Comments
 (0)