[Liblas-commits] [libLAS/libLAS] ec10e2: gt_citation.cpp: fix compilation against GDAL 2.3

GitHub noreply at github.com
Sat Apr 21 13:39:20 PDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/libLAS/libLAS
  Commit: ec10e274ee765aa54e7c71c8b44d2c7494e63804
      https://github.com/libLAS/libLAS/commit/ec10e274ee765aa54e7c71c8b44d2c7494e63804
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2018-04-21 (Sat, 21 Apr 2018)

  Changed paths:
    M src/gt_citation.cpp

  Log Message:
  -----------
  gt_citation.cpp: fix compilation against GDAL 2.3

The call to GetAngularUnits(NULL) is ambiguous since there is now
    double      GetAngularUnits( char ** ) const CPL_WARN_DEPRECATED("Use GetAngularUnits(const char**) instead");
    double      GetAngularUnits( const char ** = nullptr ) const;
    double      GetAngularUnits( std::nullptr_t ) const

But GetAngularUnits(NULL) doesn't match GetAngularUnits( std::nullptr_t )

This change is also compatible of previous GDAL version


  Commit: 982912c093f881c003d34902dbe77f5110543fd6
      https://github.com/libLAS/libLAS/commit/982912c093f881c003d34902dbe77f5110543fd6
  Author: Mateusz Loskot <mateusz at loskot.net>
  Date:   2018-04-21 (Sat, 21 Apr 2018)

  Changed paths:
    M src/gt_citation.cpp

  Log Message:
  -----------
  Merge pull request #133 from rouault/fix_compilation_against_gdal_2_3

gt_citation.cpp: fix compilation against GDAL 2.3


Compare: https://github.com/libLAS/libLAS/compare/2e39f0a9a744...982912c093f8


More information about the Liblas-commits mailing list