1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Irrlicht: Get rid of obsolete setDebugName (#15541)

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
Lars Müller 2024-12-14 17:03:08 +01:00 committed by GitHub
parent 23e502fa0e
commit fef28aced9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
68 changed files with 20 additions and 322 deletions

View file

@ -136,31 +136,6 @@ public:
return ReferenceCounter;
}
#ifdef _DEBUG
//! Returns the debug name of the object.
/** The Debugname may only be set and changed by the object
itself. This method should only be used in Debug mode.
\return Returns a string, previously set by setDebugName(); */
const c8 *getDebugName() const
{
return DebugName;
}
protected:
//! Sets the debug name of the object.
/** The Debugname may only be set and changed by the object
itself. This method should only be used in Debug mode.
\param newName: New debug name to set. */
void setDebugName(const c8 *newName)
{
DebugName = newName;
}
private:
//! The debug name.
const c8 *DebugName = nullptr;
#endif
private:
//! The reference counter. Mutable to do reference counting on const objects.