commit | acd23b71c788a2f93a6d553a6fa347610f577f7d | [log] [tgz] |
---|---|---|
author | vmpstr <[email protected]> | Fri Feb 26 21:08:55 2016 |
committer | Commit bot <[email protected]> | Fri Feb 26 21:12:37 2016 |
tree | a90cbe3856d7c162a6aaeda2a4995c49fb642f8f | |
parent | 780523e0eecff2a39c4428ea240c7551b9c0c7a2 [diff] [blame] |
net: Add out-of-line copy ctors for complex classes. This patch adds out of line copy constructors for classes that our clang-plugin considers heavy. This is an effort to enable copy constructor checks by default. BUG=436357 [email protected], [email protected], [email protected] Review URL: https://codereview.chromium.org/1728333003 Cr-Commit-Position: refs/heads/master@{#377976}
diff --git a/net/server/http_server_request_info.cc b/net/server/http_server_request_info.cc index 07c15a54..765ddc0 100644 --- a/net/server/http_server_request_info.cc +++ b/net/server/http_server_request_info.cc
@@ -11,6 +11,9 @@ HttpServerRequestInfo::HttpServerRequestInfo() {} +HttpServerRequestInfo::HttpServerRequestInfo( + const HttpServerRequestInfo& other) = default; + HttpServerRequestInfo::~HttpServerRequestInfo() {} std::string HttpServerRequestInfo::GetHeaderValue(