Ticket #8726: 8726_simpler_patch.patch

File 8726_simpler_patch.patch, 542 bytes (added by Jeremiah Willcock, 9 years ago)

Minimal patch to fix warning

  • libs/serialization/src/basic_iarchive.cpp

     
    456456        BOOST_VERIFY(register_type(bpis_ptr->get_basic_serializer()) == cid);
    457457        int i = cid;
    458458        cobject_id_vector[i].bpis_ptr = bpis_ptr;
     459        (void)new_cid; // Avoid warning when NDEBUG is on
    459460    }
    460461    int i = cid;
    461462    cobject_id & co = cobject_id_vector[i];