sparse_set: suppress warnings due to unused expressions
This commit is contained in:
@@ -975,7 +975,9 @@ public:
|
||||
|
||||
/*! @brief Clears a sparse set. */
|
||||
void clear() {
|
||||
empty() || (clear_all(), true);
|
||||
if(!empty()) {
|
||||
clear_all();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user