From 3e7902f7d790a486d3d9cb978df193f07f3a6ad9 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Sun, 29 Jun 2025 20:29:50 +0100 Subject: finish macOS support --- nihil.posix/execv.ccm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nihil.posix/execv.ccm') diff --git a/nihil.posix/execv.ccm b/nihil.posix/execv.ccm index ca036a1..d97754e 100644 --- a/nihil.posix/execv.ccm +++ b/nihil.posix/execv.ccm @@ -35,9 +35,9 @@ export struct execv final execv(execv &&) noexcept; auto operator=(this execv &, execv &&) noexcept -> execv &; - // Copyable. - execv(execv const &); - auto operator=(this execv &, execv const &) -> execv &; + // Not copyable (because m_args isn't copyable). + execv(execv const &) = delete; + auto operator=(this execv &, execv const &) -> execv & = delete; private: std::filesystem::path m_path; -- cgit v1.2.3