mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
Error: Add TakeDescription()
This commit is contained in:
parent
8295fd9c3a
commit
290c44f4c0
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue