Skip to content

Commit

Permalink
pj_load_ini(): add std::move()
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 13, 2025
1 parent 05e34a0 commit 0224fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filemanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2049,7 +2049,7 @@ void pj_load_ini(PJ_CONTEXT *ctx) {
"pj_load_ini(): Invalid value for tmerc_default_algo");
}
} else if (ca_bundle_path == nullptr && key == "ca_bundle_path") {
ctx->ca_bundle_path = value;
ctx->ca_bundle_path = std::move(value);
} else if (proj_only_best_default == nullptr &&
key == "only_best_default") {
ctx->warnIfBestTransformationNotAvailableDefault = false;
Expand Down

0 comments on commit 0224fd7

Please sign in to comment.