libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
Compiler.h File Reference

Macros

#define CLASS_FINAL   final
 
#define unused(x)   ((void)(x))
 Some temporary variables used in asserts may be unused on production build, when asserts are wiped out. More...
 

Macro Definition Documentation

#define CLASS_FINAL   final
#define unused (   x)    ((void)(x))

Some temporary variables used in asserts may be unused on production build, when asserts are wiped out.

Usage of this macro for such variables makes production build happy, and avoids unused-variable warning

Referenced by osmscout::MapPainterSVG::GetFontHeight(), osmscout::MapPainterSVG::GetTextDimension(), and osmscout::FileScanner::Open().