Skip to content

Commit

Permalink
Fix Windows build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbruening committed Oct 25, 2024
1 parent f8f1efc commit ee4991e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/drcachesim/tools/schedule_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ class schedule_stats_t : public analysis_tool_t {
std::size_t
operator()(const workload_tid_t &wt) const
{
return std::hash<int>()(wt.workload_id) ^ std::hash<memref_tid_t>()(wt.tid);
return std::hash<size_t>()(wt.workload_id) ^
std::hash<memref_tid_t>()(wt.tid);
}
};

Expand Down

0 comments on commit ee4991e

Please sign in to comment.