]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/intrusive/example/doc_derivation_value_traits.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / intrusive / example / doc_derivation_value_traits.cpp
index e900657503291808cf9978e0e43ba0e7b63eb9b6..c760bb859be813f9b9e4f7f922d71d09b8cbff63 100644 (file)
@@ -87,7 +87,7 @@ int main()
 
    //Test the objects inserted in our lists
    for(; it1 != itend1; ++it1, ++bit1,  ++it2, ++bit2){
-      if(&*bit1 != &*it1 || &*bit2 != &*it2) return false;
+      if(&*bit1 != &*it1 || &*bit2 != &*it2) return 1;
    }
    return 0;
 }