summaryrefslogtreecommitdiff
path: root/src/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.h')
-rw-r--r--src/stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream.h b/src/stream.h
index 391b2f51..07c507bd 100644
--- a/src/stream.h
+++ b/src/stream.h
@@ -170,6 +170,7 @@ struct OutputBuffer {
class MemoryStream : public Stream {
public:
WABT_DISALLOW_COPY_AND_ASSIGN(MemoryStream);
+ MemoryStream(MemoryStream&&) = default;
explicit MemoryStream(Stream* log_stream = nullptr);
explicit MemoryStream(std::unique_ptr<OutputBuffer>&&,
Stream* log_stream = nullptr);