aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.posix/execv.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.posix/execv.ccm')
-rw-r--r--nihil.posix/execv.ccm6
1 files changed, 3 insertions, 3 deletions
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;