[GRASS-git] [OSGeo/grass] a1e7a1: r.terrafow: explicit use of default constructors (...

Nicklas Larsson noreply at github.com
Thu Jan 5 07:17:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: a1e7a1efc7c24c5343178a6a04b2314274fce960
      https://github.com/OSGeo/grass/commit/a1e7a1efc7c24c5343178a6a04b2314274fce960
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

  Changed paths:
    M raster/r.terraflow/ccforest.h
    M raster/r.terraflow/genericWindow.h
    M raster/r.terraflow/sweep.h

  Log Message:
  -----------
  r.terrafow: explicit use of default constructors (#2660)

Fixes -Wclass-memaccess and -Wdeprecated-declaration warnings.

Use 'default' for implicitly-declared constructors and use default
(implicit) destructor.

Simplify; modernise constructs.




More information about the grass-commit mailing list