13 lines
766 B
Diff
13 lines
766 B
Diff
diff -Naur vsgXchange-1.1.6.orig/src/gdal/GDAL.cpp vsgXchange-1.1.6/src/gdal/GDAL.cpp
|
|
--- vsgXchange-1.1.6.orig/src/gdal/GDAL.cpp 2025-02-04 20:49:58.683453200 +0300
|
|
+++ vsgXchange-1.1.6/src/gdal/GDAL.cpp 2025-02-04 20:50:23.570651800 +0300
|
|
@@ -247,7 +247,7 @@
|
|
vsg::ref_ptr<vsg::Object> GDAL::Implementation::read(const uint8_t* ptr, size_t size, vsg::ref_ptr<const vsg::Options> options) const
|
|
{
|
|
std::string temp_filename("/vsimem/temp");
|
|
- temp_filename.append(options->extensionHint);
|
|
+ temp_filename.append(options->extensionHint.string());
|
|
|
|
// create a GDAL Virtual File for memory block.
|
|
VSILFILE* vsFile = VSIFileFromMemBuffer(temp_filename.c_str(), static_cast<GByte*>(const_cast<uint8_t*>(ptr)), static_cast<vsi_l_offset>(size), 0);
|