diff options
Diffstat (limited to 'editor/inspect.hpp')
-rw-r--r-- | editor/inspect.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/inspect.hpp b/editor/inspect.hpp index df543f96..49abc5ce 100644 --- a/editor/inspect.hpp +++ b/editor/inspect.hpp @@ -7,9 +7,9 @@ struct erased_accessor; template<typename T, typename Enum, Enum As> struct field_repr_ final { - field_repr_(T x) : value{std::move(x)} {} + field_repr_(T x) : value{move(x)} {} field_repr_(const field_repr_<T, Enum, As>& other) noexcept = default; - field_repr_& operator=(T x) noexcept { value = std::move(x); return *this; } + field_repr_& operator=(T x) noexcept { value = move(x); return *this; } field_repr_& operator=(const field_repr_<T, Enum, As>& x) noexcept = default; field_repr_& operator*() const noexcept { return value; } operator T() const noexcept { return value; } |