From 5389747f4fff27f85404c96ae969c0c1c7924d76 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 20 Apr 2022 11:01:04 +0200 Subject: Add butl::move_only_function[_ex] similar to C++23 std::move_only_function --- libbutl/optional.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libbutl/optional.hxx') diff --git a/libbutl/optional.hxx b/libbutl/optional.hxx index f569f8d..7d66ac5 100644 --- a/libbutl/optional.hxx +++ b/libbutl/optional.hxx @@ -63,9 +63,7 @@ #ifdef LIBBUTL_STD_OPTIONAL namespace butl { - template - using optional = std::optional; - + using std::optional; using std::nullopt_t; using std::nullopt; } -- cgit v1.1