summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/option.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ocl/option.hpp')
-rw-r--r--include/ocl/option.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/ocl/option.hpp b/include/ocl/option.hpp
index 2c387a7..74300a3 100644
--- a/include/ocl/option.hpp
+++ b/include/ocl/option.hpp
@@ -1,4 +1,4 @@
-// Copyright 2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Copyright 2025-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-foss-org/core
@@ -8,6 +8,7 @@
#include <ocl/detail/config.hpp>
#include <ocl/print.hpp>
+#include <cstdint>
namespace ocl
{
@@ -43,8 +44,8 @@ namespace ocl
~option() = default;
- option& operator=(const option&) = delete;
- option(const option&) = delete;
+ option& operator=(const option&) = default;
+ option(const option&) = default;
option& expect(const char* input)
{