diff options
| author | Mel <einebeere@gmail.com> | 2023-07-07 23:05:14 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-07-07 23:14:59 +0200 |
| commit | 129f2e421e16bd008cdca8713cc91f67d103d94e (patch) | |
| tree | a4d3e1005c57591b44fd57be4c1b00441512e36d /src/GFX/Image/PPMParser.hpp | |
| parent | f1fc192ddc4c739fa8b4b376c759b7d3218a34eb (diff) | |
| download | meowcraft-129f2e421e16bd008cdca8713cc91f67d103d94e.tar.zst meowcraft-129f2e421e16bd008cdca8713cc91f67d103d94e.zip | |
Fix minor quality issues
Diffstat (limited to 'src/GFX/Image/PPMParser.hpp')
| -rw-r--r-- | src/GFX/Image/PPMParser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GFX/Image/PPMParser.hpp b/src/GFX/Image/PPMParser.hpp index 3909cee..07ff3c2 100644 --- a/src/GFX/Image/PPMParser.hpp +++ b/src/GFX/Image/PPMParser.hpp @@ -8,7 +8,7 @@ namespace MC::GFX::Image { class PPMParser { public: - explicit PPMParser(std::string_view source) : m_source(source) {}; + explicit PPMParser(std::string_view source) : m_source(source) {} RawImage parse(); private: @@ -35,7 +35,7 @@ private: void skip_whitespace(); void skip_comment(); - bool is_eof(); + bool is_eof() const; std::string_view m_source; uint64_t m_cursor = 0; |
