From 6c3ec0d7856818f14bb60027908eb29dcc134680 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Mon, 16 Aug 2021 15:01:39 -0500 Subject: [PATCH] Fix deprecation warning about implicit copy constructor --- include/turtle/detail/expectation_template.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/turtle/detail/expectation_template.hpp b/include/turtle/detail/expectation_template.hpp index 20bf6f4..8b4cf40 100644 --- a/include/turtle/detail/expectation_template.hpp +++ b/include/turtle/detail/expectation_template.hpp @@ -155,6 +155,11 @@ namespace detail , line_( line ) {} + expectation(expectation &&) = default; + expectation(expectation const&) = default; + expectation& operator=(expectation &&) = default; + expectation& operator=(expectation const&) = default; + ~expectation() { for( sequences_cit it = sequences_.begin();