We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43170d2 commit 3fb3173Copy full SHA for 3fb3173
platform/Span.h
@@ -111,7 +111,7 @@ struct Span {
111
*/
112
bool empty() const
113
{
114
- return size() ? false : true;
+ return size() == 0;
115
}
116
117
/**
@@ -281,7 +281,7 @@ struct Span<T, SPAN_DYNAMIC_EXTENT> {
281
282
283
284
285
286
287
0 commit comments