From e969f66acab6100abbee81c3ea30c21d79fc94c6 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Sun, 19 Apr 2020 18:41:35 +0300 Subject: [PATCH] Try fix test. --- src/Interpreters/Context.cpp | 1 + src/Interpreters/Context.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Interpreters/Context.cpp b/src/Interpreters/Context.cpp index 876229bbaec..98100994900 100644 --- a/src/Interpreters/Context.cpp +++ b/src/Interpreters/Context.cpp @@ -442,6 +442,7 @@ Context::Context(const Context &) = default; Context & Context::operator=(const Context &) = default; SharedContextHolder::SharedContextHolder(SharedContextHolder &&) noexcept = default; +SharedContextHolder::SharedContextHolder() = default; SharedContextHolder::~SharedContextHolder() = default; SharedContextHolder::SharedContextHolder(std::unique_ptr shared_context) : shared(std::move(shared_context)) {} diff --git a/src/Interpreters/Context.h b/src/Interpreters/Context.h index eb9157bb326..ee808211d1e 100644 --- a/src/Interpreters/Context.h +++ b/src/Interpreters/Context.h @@ -136,6 +136,7 @@ using IHostContextPtr = std::shared_ptr; struct SharedContextHolder { ~SharedContextHolder(); + SharedContextHolder(); SharedContextHolder(std::unique_ptr shared_context); SharedContextHolder(SharedContextHolder &&) noexcept;