summaryrefslogtreecommitdiff
path: root/src/gui/fonts/font.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-06 19:35:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-06 19:35:56 +0300
commitb29baef05f700a94a0dc315c1b891ed7f6ab6173 (patch)
tree076b2d520f0e38b4ddb5d531b3b619ec504bb52d /src/gui/fonts/font.cpp
parentc72c7978c95f32ea13895064a4aa75d62d177ba6 (diff)
downloadmv-b29baef05f700a94a0dc315c1b891ed7f6ab6173.tar.gz
mv-b29baef05f700a94a0dc315c1b891ed7f6ab6173.tar.bz2
mv-b29baef05f700a94a0dc315c1b891ed7f6ab6173.tar.xz
mv-b29baef05f700a94a0dc315c1b891ed7f6ab6173.zip
Add noexcept into font.
Diffstat (limited to 'src/gui/fonts/font.cpp')
-rw-r--r--src/gui/fonts/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fonts/font.cpp b/src/gui/fonts/font.cpp
index 6ff4c056f..b476de976 100644
--- a/src/gui/fonts/font.cpp
+++ b/src/gui/fonts/font.cpp
@@ -366,7 +366,7 @@ int Font::getStringIndexAt(const std::string& text, const int x) const
return static_cast<int>(sz);
}
-const TextChunkList *Font::getCache() const
+const TextChunkList *Font::getCache() const noexcept
{
return mCache;
}