-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Neheb 1" #315
Revert "Neheb 1" #315
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clang-Tidy
found issue(s) with the introduced code (1/1)
@@ -59,10 +59,8 @@ class partial_queue { | |||
|
|||
static const size_type num_layers = 8; | |||
|
|||
partial_queue() = default; | |||
partial_queue() : m_data(NULL), m_maxLayerSize(0) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
invalid case style for private member m_maxLayerSize
partial_queue() : m_data(NULL), m_maxLayerSize(0) {} | |
partial_queue() : m_data(NULL), m_max_layer_size(0) {} |
~partial_queue() { disable(); } | ||
partial_queue(const partial_queue&) = delete; | ||
partial_queue& operator=(const partial_queue&) = delete; | ||
|
||
bool is_full() const { return m_ceiling == 0; } | ||
bool is_layer_full(size_type l) const { return m_layers[l].second >= m_maxLayerSize; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
invalid case style for private member m_maxLayerSize
bool is_layer_full(size_type l) const { return m_layers[l].second >= m_maxLayerSize; } | |
bool is_layer_full(size_type l) const { return m_layers[l].second >= m_max_layer_size; } |
mapped_type* m_data{}; | ||
size_type m_maxLayerSize{}; | ||
mapped_type* m_data; | ||
size_type m_maxLayerSize; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
invalid case style for private member m_maxLayerSize
size_type m_maxLayerSize; | |
size_type m_max_layer_size; |
void operator = (const Chunk&); | ||
|
||
uint32_t m_chunkSize; | ||
int m_prot; | ||
}; | ||
|
||
inline Chunk::iterator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chunk
is not a class, namespace, or enumeration
Reverts #314