Skip to content

Commit cc1fc5c

Browse files
committed
[parser] Fix Unix build error introduced with previous commit.
1 parent 177ec82 commit cc1fc5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/parser/font.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ FontProcessingException::FontProcessingException(FT_Error ftErr) :
6565
mFreeTypeError(ftErr)
6666
{}
6767

68-
const char* FontProcessingException::what() const
68+
const char* FontProcessingException::what() const noexcept
6969
{
7070
#undef FTERRORS_H_
7171
#define FT_ERROR_START_LIST switch(mFreeTypeError) {

source/parser/font.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ using namespace pov_base;
7575
struct FontProcessingException : std::exception
7676
{
7777
FontProcessingException(FT_Error ftErr);
78-
virtual const char* what() const override;
78+
virtual const char* what() const noexcept override;
7979
protected:
8080
FT_Error mFreeTypeError;
8181
};

0 commit comments

Comments
 (0)