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 Jun 3, 2024
1 parent a6bf506 commit a393ed2
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 a393ed2

Please sign in to comment.