add parallelsim in session_longops view
This commit is contained in:
12
deps/oblib/src/lib/container/ob_mask_set2.h
vendored
12
deps/oblib/src/lib/container/ob_mask_set2.h
vendored
@ -52,9 +52,9 @@ public:
|
||||
public:
|
||||
int mask(const T &key)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
if (!is_inited_) {
|
||||
ret = OB_NOT_INIT;
|
||||
int ret = OB_SUCCESS;
|
||||
if (!is_inited_) {
|
||||
ret = OB_NOT_INIT;
|
||||
} else {
|
||||
bool hit = false;
|
||||
for (int64_t i = 0 ; OB_SUCCESS == ret && i < array_->count(); i++) {
|
||||
@ -114,9 +114,9 @@ public:
|
||||
tmp_new_mask = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (OB_SUCCESS == ret) {
|
||||
}
|
||||
}
|
||||
if (OB_SUCCESS == ret) {
|
||||
if (!hit) {
|
||||
ret = OB_MASK_SET_NO_NODE;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user