[geos-devel] [GEOS] #849: clang-tidy: readability-container-size-empty size() == 0 can be replaced with empty()
GEOS
geos-trac at osgeo.org
Thu Aug 30 18:40:54 PDT 2018
#849: clang-tidy: readability-container-size-empty size() == 0 can be replaced
with empty()
-------------------------------------------------+-------------------------
Reporter: goatbar | Owner: geos-
| devel@…
Type: defect | Status: closed
Priority: minor | Milestone: 3.8.0
Component: Default | Version: master
Severity: Unassigned | Resolution: fixed
Keywords: clangtidy size empty readability- |
container-size-empty |
-------------------------------------------------+-------------------------
Changes (by cvvergara <vicky@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"55d8d35b2a399deb324239573881d947fca49061/git" 55d8d35/git]:
{{{
#!CommitTicketReference repository="git"
revision="55d8d35b2a399deb324239573881d947fca49061"
Closes #849, Using empty() instead of comparing size() vs 0
}}}
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/849#comment:4>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list