diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-07-31 10:59:51 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2019-07-31 10:59:51 +0200 |
commit | 69a3f6c1c2ecbdacd3f95788ef6a0b0d45731799 (patch) | |
tree | f8b53229b06258a84eb9aa3090f4330b411bb7f0 /document | |
parent | 9421630708db4764c6c8faa3a3de3f3d2cab0046 (diff) |
Move assignment operator is implicitly deleted for Fixture.
Add explicit delete of copy/move constructor/assignment.
Diffstat (limited to 'document')
-rw-r--r-- | document/src/tests/gid_filter_test.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/document/src/tests/gid_filter_test.cpp b/document/src/tests/gid_filter_test.cpp index dcfafb56b99..fec6581b8f7 100644 --- a/document/src/tests/gid_filter_test.cpp +++ b/document/src/tests/gid_filter_test.cpp @@ -19,8 +19,10 @@ protected: Fixture(vespalib::stringref selection); ~Fixture(); - Fixture(Fixture&&) = default; - Fixture& operator=(Fixture&&) = default; + Fixture(const Fixture&) = delete; + Fixture(Fixture&&) = delete; + Fixture& operator=(const Fixture&) = delete; + Fixture& operator=(Fixture&&) = delete; static Fixture for_selection(vespalib::stringref s) { return Fixture(s); |