Skip to content

Commit

Permalink
use char *
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Jun 10, 2024
1 parent a6e62ef commit 57b55c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/include/gdalapplib/gdalapplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ for (R_xlen_t i = 0; i < options.size(); ++i) {
if (hDataset == nullptr) {
out[i] = NA_STRING;
} else {
std::string outstr = GDALInfo(hDataset, psOptions);
const char *outstr = GDALInfo(hDataset, psOptions);
out[i] = outstr;
GDALClose(hDataset);
}
Expand Down

0 comments on commit 57b55c3

Please sign in to comment.