commit | b6449d51ce2b1140e763a79b2ca453f3ccedeeac | [log] [tgz] |
---|---|---|
author | vmpstr <[email protected]> | Thu Feb 25 23:55:40 2016 |
committer | Commit bot <[email protected]> | Thu Feb 25 23:56:46 2016 |
tree | 618db0f8e5315b69b0880278398a4f38513fbb13 | |
parent | 1f354ca0573b81547e0921f2a015915a7ccc3dbd [diff] [blame] |
components: 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] CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1728033002 Cr-Commit-Position: refs/heads/master@{#377717}
diff --git a/components/query_parser/snippet.cc b/components/query_parser/snippet.cc index b4840c6..f704409c 100644 --- a/components/query_parser/snippet.cc +++ b/components/query_parser/snippet.cc
@@ -208,6 +208,8 @@ Snippet::Snippet() { } +Snippet::Snippet(const Snippet& other) = default; + Snippet::~Snippet() { }