Skip to content

Conversation

@dentiny
Copy link
Contributor

@dentiny dentiny commented Jan 29, 2026

I get the following compilation warning on build.

/home/vscode/duckdb/build/debug/_deps/httpfs_extension_fc-src/src/httpfs_httplib_client.cpp: In member function ‘virtual duckdb::unique_ptr<duckdb::HTTPResponse> duckdb::HTTPFSClient::Post(duckdb::PostRequestInfo&)’:
/home/vscode/duckdb/build/debug/_deps/httpfs_extension_fc-src/src/httpfs_httplib_client.cpp:118:33: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  118 |                 return std::move(transformed_req);
      |                        ~~~~~~~~~^~~~~~~~~~~~~~~~~

@carlopi
Copy link
Collaborator

carlopi commented Jan 30, 2026

Thanks!

@carlopi carlopi merged commit ce7693e into duckdb:main Jan 30, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants