summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-04-24 20:45:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-04-24 20:45:22 +0200
commit178e46f361a5f1ac441d06135ca3ba55184c080a (patch)
tree1bbd731f05746c390b3cb67cbe621c5963c13756 /options
parent829d0aade7eccb7acf12268aeb73da8824be3466 (diff)
options/value: kill copy ctor
Diffstat (limited to 'options')
-rw-r--r--options/value.hpp3
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
{