From b8360657dcc4e34a2de676a70073b3bb279087cb Mon Sep 17 00:00:00 2001 From: Ted Lyngmo Date: Tue, 12 Mar 2019 18:28:32 +0100 Subject: [PATCH] Make a deleted ctor default --- src/streamcharsource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamcharsource.h b/src/streamcharsource.h index 493765d..4b6a143 100644 --- a/src/streamcharsource.h +++ b/src/streamcharsource.h @@ -15,7 +15,7 @@ class StreamCharSource { StreamCharSource(const Stream& stream) : m_offset(0), m_stream(stream) {} StreamCharSource(const StreamCharSource& source) : m_offset(source.m_offset), m_stream(source.m_stream) {} - StreamCharSource(StreamCharSource&&) = delete; + StreamCharSource(StreamCharSource&&) = default; StreamCharSource& operator=(const StreamCharSource&) = delete; StreamCharSource& operator=(StreamCharSource&&) = delete; ~StreamCharSource() {}