diff --git a/include/luisa/xir/passes/dom_tree.h b/include/luisa/xir/passes/dom_tree.h index d7f58fea4..b21f9f9a8 100644 --- a/include/luisa/xir/passes/dom_tree.h +++ b/include/luisa/xir/passes/dom_tree.h @@ -28,7 +28,7 @@ class LC_XIR_API DomTreeNode : public concepts::Noncopyable { [[nodiscard]] auto frontiers() const noexcept { return luisa::span{_frontiers}; } }; -class LC_XIR_API DomTree { +class LC_XIR_API DomTree : public concepts::Noncopyable { private: luisa::unordered_map> _nodes;