diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/osgearth/namespace-gdal.diff | |
Diffstat (limited to 'vcpkg/ports/osgearth/namespace-gdal.diff')
| -rw-r--r-- | vcpkg/ports/osgearth/namespace-gdal.diff | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/vcpkg/ports/osgearth/namespace-gdal.diff b/vcpkg/ports/osgearth/namespace-gdal.diff new file mode 100644 index 0000000..047fa46 --- /dev/null +++ b/vcpkg/ports/osgearth/namespace-gdal.diff @@ -0,0 +1,39 @@ +diff --git a/src/osgEarth/GDAL.cpp b/src/osgEarth/GDAL.cpp +index 9f1e7b67b..a9590a6be 100644 +--- a/src/osgEarth/GDAL.cpp ++++ b/src/osgEarth/GDAL.cpp +@@ -49,8 +49,6 @@ + #include <cpl_string.h> + #include <gdal_alg_priv.h> + +-using namespace osgEarth; +-using namespace osgEarth::GDAL; + + #undef LC + #define LC "[GDAL] " +@@ -59,7 +57,7 @@ using namespace osgEarth::GDAL; + + namespace osgEarth + { +- namespace GDAL ++ namespace + { + // From easyrgb.com + inline float Hue_2_RGB(float v1, float v2, float vH) +@@ -417,7 +415,6 @@ namespace osgEarth + return (err == CE_None); + } + } +-} // namespace osgEarth::GDAL + + //................................................................... + +@@ -2244,6 +2241,8 @@ GDALElevationLayer::createHeightFieldImplementation(const TileKey& key, Progress + return GeoHeightField::INVALID; + } + ++} // namespace osgearth ++ + //................................................................... + + |