Skip to content

Commit 681a39f

Browse files
committed
Set public and protected.
1 parent dfa8f6a commit 681a39f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

inst/include/tbb/concurrent_vector.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ namespace internal {
105105
pointers_per_short_table = 3, // to fit into 8 words of entire structure
106106
pointers_per_long_table = sizeof(segment_index_t) * 8 // one segment per bit
107107
};
108-
108+
public:
109109
struct segment_not_used {};
110110
struct segment_allocated {};
111111
struct segment_allocation_failed {};
112-
112+
protected:
113113
class segment_t;
114114
class segment_value_t {
115115
void* array;

src/tbb/include/tbb/concurrent_vector.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ namespace internal {
105105
pointers_per_short_table = 3, // to fit into 8 words of entire structure
106106
pointers_per_long_table = sizeof(segment_index_t) * 8 // one segment per bit
107107
};
108-
108+
public:
109109
struct segment_not_used {};
110110
struct segment_allocated {};
111111
struct segment_allocation_failed {};
112-
112+
protected:
113113
class segment_t;
114114
class segment_value_t {
115115
void* array;

0 commit comments

Comments
 (0)