File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
backends/vulkan/runtime/vk_api Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ std::unique_ptr<Runtime> init_global_vulkan_runtime() {
265265 };
266266
267267 try {
268- return std::make_unique<Runtime>(Runtime ( default_config) );
268+ return std::make_unique<Runtime>(default_config);
269269 } catch (...) {
270270 }
271271
@@ -323,16 +323,6 @@ Runtime::~Runtime() {
323323 instance_ = VK_NULL_HANDLE;
324324}
325325
326- Runtime::Runtime (Runtime&& other) noexcept
327- : config_(other.config_),
328- instance_ (other.instance_),
329- adapters_(std::move(other.adapters_)),
330- default_adapter_i_(other.default_adapter_i_),
331- debug_report_callback_(other.debug_report_callback_) {
332- other.instance_ = VK_NULL_HANDLE;
333- other.debug_report_callback_ = {};
334- }
335-
336326uint32_t Runtime::create_adapter (const Selector& selector) {
337327 VK_CHECK_COND (
338328 !device_mappings_.empty (),
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class Runtime final {
5151 Runtime (const Runtime&) = delete ;
5252 Runtime& operator =(const Runtime&) = delete ;
5353
54- Runtime (Runtime&&) noexcept ;
54+ Runtime (Runtime&&) = delete ;
5555 Runtime& operator =(Runtime&&) = delete ;
5656
5757 ~Runtime ();
You can’t perform that action at this time.
0 commit comments