diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 21:18:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 21:18:24 +0300 |
commit | 9ff808fb20962884d56147d46c8e4de915a0735d (patch) | |
tree | b09025e75c2e57a48e5be971953edbc14b466846 /src/gui/fonts/font.h | |
parent | aaa274245a584c633dcfdb5444bbc1dc21c0c28f (diff) | |
download | manaverse-9ff808fb20962884d56147d46c8e4de915a0735d.tar.gz manaverse-9ff808fb20962884d56147d46c8e4de915a0735d.tar.bz2 manaverse-9ff808fb20962884d56147d46c8e4de915a0735d.tar.xz manaverse-9ff808fb20962884d56147d46c8e4de915a0735d.zip |
Disable noexcept for clang and old gcc versions.
Diffstat (limited to 'src/gui/fonts/font.h')
-rw-r--r-- | src/gui/fonts/font.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/fonts/font.h b/src/gui/fonts/font.h index 2a3131fa3..ef7ff9a5a 100644 --- a/src/gui/fonts/font.h +++ b/src/gui/fonts/font.h @@ -101,7 +101,7 @@ class Font final int getHeight() const restrict2 A_WARN_UNUSED; - const TextChunkList *getCache() const restrict2 noexcept + const TextChunkList *getCache() const restrict2 noexcept2 A_CONST A_WARN_UNUSED; /** @@ -120,10 +120,10 @@ class Font final void slowLogic(const int rnd) restrict2; - unsigned int getCreateCounter() const restrict2 noexcept A_WARN_UNUSED + unsigned int getCreateCounter() const restrict2 noexcept2 A_WARN_UNUSED { return mCreateCounter; } - unsigned int getDeleteCounter() const restrict2 noexcept A_WARN_UNUSED + unsigned int getDeleteCounter() const restrict2 noexcept2 A_WARN_UNUSED { return mDeleteCounter; } int getStringIndexAt(const std::string &restrict text, |