Error: Add TakeDescription()

This commit is contained in:
Stenzek 2024-08-11 20:43:13 +10:00
parent 8295fd9c3a
commit 290c44f4c0
No known key found for this signature in database

View file

@ -32,6 +32,7 @@ public:
ALWAYS_INLINE Type GetType() const { return m_type; } ALWAYS_INLINE Type GetType() const { return m_type; }
ALWAYS_INLINE bool IsValid() const { return (m_type != Type::None); } ALWAYS_INLINE bool IsValid() const { return (m_type != Type::None); }
ALWAYS_INLINE const std::string& GetDescription() const { return m_description; } ALWAYS_INLINE const std::string& GetDescription() const { return m_description; }
ALWAYS_INLINE std::string TakeDescription() { return std::move(m_description); }
void Clear(); void Clear();