forked from boostorg/intrusive
Fix clang 6.0 warnings in tests: unused members, suspicious return types
This commit is contained in:
@@ -100,7 +100,7 @@ int main()
|
||||
int checker = 0;
|
||||
for( intrusive_list_t::const_iterator it = plist->begin(), itend(plist->end())
|
||||
; it != itend; ++it, ++checker){
|
||||
if(it->get() != checker) return false;
|
||||
if(it->get() != checker) return 1;
|
||||
}
|
||||
|
||||
//Now delete the list and after that, the nodes
|
||||
|
||||
Reference in New Issue
Block a user