File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ namespace gl {
3232 void blit (framebuffer& target);
3333 };
3434
35- class framebuffer_exception : public std ::exception {
35+ class framebuffer_exception final : public std::exception {
3636 char m_Msg[512 ];
3737 public:
3838 framebuffer_exception (const char * msg);
39- inline const char * what () { return m_Msg; }
39+ inline const char * what () const override { return m_Msg; }
4040 };
4141}
Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ namespace gl {
3939 std::unordered_map<uint64_t , uint32_t > m_Uniforms;
4040 };
4141
42- class shader_exception : public std ::exception {
42+ class shader_exception final : public std::exception {
4343 char m_Msg[512 ];
4444 public:
4545 shader_exception (const char * msg);
46- inline const char * what () { return m_Msg; }
46+ inline const char * what () const override { return m_Msg; }
4747 };
4848}
4949
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ class OpenGLRenderer final : public SarRenderer {
3636 gl::texture atlas;
3737};
3838
39- class glrenderer_exception : public std ::exception {
39+ class glrenderer_exception final : public std::exception {
4040 char m_Msg[512 ];
4141public:
4242 glrenderer_exception (const char * msg);
43- inline const char * what () { return m_Msg; }
43+ inline const char * what () const override { return m_Msg; }
4444};
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ class SarFile {
6363 ~SarFile ();
6464};
6565
66- class sar_exception : public std ::exception {
66+ class sar_exception final : public std::exception {
6767 char m_Msg[512 ];
6868public:
6969 sar_exception (const char * msg);
70- inline const char * what () { return m_Msg; }
70+ inline const char * what () const override { return m_Msg; };
7171};
You can’t perform that action at this time.
0 commit comments