From 178e46f361a5f1ac441d06135ca3ba55184c080a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 24 Apr 2019 20:45:22 +0200 Subject: options/value: kill copy ctor --- options/value.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options') diff --git a/options/value.hpp b/options/value.hpp index 35cb5616..f16878ce 100644 --- a/options/value.hpp +++ b/options/value.hpp @@ -130,7 +130,8 @@ public: { } - value(const value& other) noexcept : value{other.b, other.self_name, other.def} {} + //value(const value& other) noexcept : value{other.b, other.self_name, other.def} {} + value(const value&) = delete; t default_value() const { -- cgit v1.2.3