Skip to content

Commit 96ce63a

Browse files
author
Nora Buschauer
committed
[Util] Allow only implicit conversion to a reference of type T
1 parent c05d0fc commit 96ce63a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/mutable/util/OptField.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ struct OptField
2020
requires std::convertible_to<U, T>
2121
OptField(U &&value) : value_(std::forward<U>(value)) { }
2222

23-
operator T() const { return value_; }
2423
operator T&() { return value_; }
2524
operator const T&() const { return value_; }
2625

0 commit comments

Comments
 (0)