Skip to content

Commit

Permalink
Fix bug where the cast cache would insert with wrong key.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Byrne authored and Daniel Wallin committed Jun 27, 2010
1 parent d8f39eb commit 8e9bb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inheritance.cpp
Expand Up @@ -93,7 +93,7 @@ namespace
, std::ptrdiff_t object_offset, std::size_t distance, std::ptrdiff_t offset)
{
m_cache.insert(std::make_pair(
key_type(src, target, dynamic_id, offset)
key_type(src, target, dynamic_id, object_offset)
, cache_entry(offset, distance)
));
}
Expand Down

0 comments on commit 8e9bb9c

Please sign in to comment.