• Stephan Bergmann's avatar
    Adapt loplugin:ptrvector to libc++ (on macOS) · f260284c
    Stephan Bergmann yazdı
    ...where it produced false positive
    
    > /Users/stephan/Software/lo2/core/UnoControls/source/controls/progressmonitor.cxx:245:21: error: do not call operator== on a std container containing a unique_ptr const class std::__1::__wrap_iter<class std::__1::unique_ptr<struct unocontrols::IMPL_TextlistItem, struct std::__1::default_delete<struct unocontrols::IMPL_TextlistItem> > *> [loplugin:ptrvector]
    >             if (itr != maTextlist_Top.end())
    >                     ^
    
    Change-Id: I8a8b6f30145e6aff2caa03c03f0fd20af0ba42b5
    Reviewed-on: https://gerrit.libreoffice.org/59181
    Tested-by: Jenkins
    Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
    f260284c
ptrvector.cxx 2.58 KB