Skip to content

Commit

Permalink
feat(ScummRp): Add missing "const", suggested by MSVC linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dwatteau committed Jul 12, 2024
1 parent a4d37b2 commit cf576c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScummRp/block.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class Block
{
}
const std::string &file() { return _file; }
int32 offset() { return _offset; }
int32 offset() const { return _offset; }
~InvalidDataFromGame() throw() override { }
};
class InvalidDataFromDump : public std::runtime_error
Expand Down

0 comments on commit cf576c3

Please sign in to comment.