Added macro for deprecating things

0.8
Bruno Van de Velde 2017-08-31 01:22:18 +02:00
parent 2de9c4786b
commit 6b26b5bebd
1 changed files with 4 additions and 0 deletions

View File

@ -81,4 +81,8 @@
#define TGUI_CONSTEXPR constexpr
#endif
#ifndef TGUI_NO_DEPRECATED_WARNINGS
#define TGUI_DEPRECATED(msg) [[deprecated(msg)]]
#endif
#endif // TGUI_CONFIG_HPP