Switched UI Label to use localized strings.
This commit is contained in:
@ -50,6 +50,17 @@ static inline void assertTrue(bool_t x) {}
|
||||
* Asserts a function as being deprecated.
|
||||
*/
|
||||
void assertDeprecated();
|
||||
|
||||
/**
|
||||
* Asserts that a given map has a key.
|
||||
*
|
||||
* @param map Map to check.
|
||||
* @param key Key to try and assert exists.
|
||||
*/
|
||||
template<typename K, typename V>
|
||||
void assertMapHasKey(std::map<K,V> map, K key) {
|
||||
assertTrue(map.find(key) != map.end());
|
||||
}
|
||||
#else
|
||||
|
||||
#define assertTrue assert
|
||||
|
Reference in New Issue
Block a user