]> git.ipfire.org Git - thirdparty/squid.git/commit
Cleanup: cf_gen code updates (#558)
authorAmos Jeffries <yadij@users.noreply.github.com>
Fri, 6 Mar 2020 18:40:43 +0000 (18:40 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 9 Mar 2020 15:20:48 +0000 (15:20 +0000)
commit47f0eaea570f1aa06bddd32b9b889854775e5aa8
tree47a7fb22e225ec316fefc2b07b968d0de564378e
parentb6f3c19a9f78ac1c2ac90dc7b2fd36f7b77308f3
Cleanup: cf_gen code updates (#558)

* cf_gen: fix obsolete yoda stye comparison

* cf.data.pre: replace NOCOMMENT_START/END with
  clearer CONFIG_START/END tags

* cf_gen: fix special class constructor/destructors
     * Comply with the 'Big Three / Big Five' rule.
     * Use C++11 initialization for class Entry member
     * Remove unnecessary entries in constructor lists

* cf_gen: use C++11 ranged-for loops
src/cf.data.pre
src/cf_gen.cc