Code: Select all
Q_UNUSED(myVar);
Which is defined something like:
Code: Select all
#define Q_UNUSED(var) (static_cast<void>(var))
Is there something similar in CEGUI? And if not, would u mind If I added one?
Moderators: CEGUI MVP, CEGUI Team
Code: Select all
Q_UNUSED(myVar);
Code: Select all
#define Q_UNUSED(var) (static_cast<void>(var))
Code: Select all
bool is_success(my_func());
assert(is_success);
Code: Select all
#define CEGUI_UNUSED(var) (static_cast<void>(var))
Code: Select all
static_cast<void>(my_var)
Code: Select all
CEGUI_UNUSED(my_var)
Code: Select all
void someFunction(T /*a*/, T* /*b*/)
{}
Return to “CEGUI Library Development Discussion”
Users browsing this forum: No registered users and 5 guests