diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:24:08 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-20 14:24:08 +0100 |
commit | 22a7e9f3c40b4b6eb68a5343e4870e76c4bfcf63 (patch) | |
tree | b927a520d1d25951a7b22ade23b470168db67a72 /src/crepe/util/OptionalRef.h | |
parent | 02845c3d25130e9473604cb2eeee42a7a7a8eadf (diff) |
process feedback on #39
Diffstat (limited to 'src/crepe/util/OptionalRef.h')
-rw-r--r-- | src/crepe/util/OptionalRef.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/crepe/util/OptionalRef.h b/src/crepe/util/OptionalRef.h index 0a94ae5..57f9635 100644 --- a/src/crepe/util/OptionalRef.h +++ b/src/crepe/util/OptionalRef.h @@ -36,7 +36,7 @@ public: * * \param ref Reference to assign */ - void set(T &) noexcept; + void set(T & ref) noexcept; /** * \brief Retrieve this reference * @@ -50,15 +50,6 @@ public: */ void clear() noexcept; - //! Copy constructor - OptionalRef(const OptionalRef<T> &); - //! Move constructor - OptionalRef(OptionalRef<T> &&); - //! Copy assignment - OptionalRef<T> & operator=(const OptionalRef<T> &); - //! Move assignment - OptionalRef<T> & operator=(OptionalRef<T> &&); - private: /** * \brief Reference to the value of type \c T |