diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-24 20:45:22 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-04-24 20:45:22 +0200 |
commit | 178e46f361a5f1ac441d06135ca3ba55184c080a (patch) | |
tree | 1bbd731f05746c390b3cb67cbe621c5963c13756 | |
parent | 829d0aade7eccb7acf12268aeb73da8824be3466 (diff) |
options/value: kill copy ctor
-rw-r--r-- | options/value.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<t>& other) noexcept : value{other.b, other.self_name, other.def} {} + //value(const value<t>& other) noexcept : value{other.b, other.self_name, other.def} {} + value(const value<t>&) = delete; t default_value() const { |