Skip to content
Snippets Groups Projects

Streamline upgrade ghost ID

Merged Gerhard Raven requested to merge streamline-ghostid into master
  1. Sep 14, 2019
    • Gerhard Raven's avatar
      Streamline upgrade ghost ID · 7981e76c
      Gerhard Raven authored
      * avoid virtual destructors if not required
      * prefer front/back over *begin and *end
      * multiply less
      * add const
      * avoid naked new and delete, prefer std::unique_ptr
      * avoid repeated push_back on container, prefer constructing
        in one shot
      * prefer switch over repeated if-else-if
      7981e76c
Loading