Skip to content

Commit

Permalink
Merge pull request #314 from lorentey/fix-c++-benchmarks
Browse files Browse the repository at this point in the history
[1.0][benchmark] Update std::function syntax for current C++
  • Loading branch information
lorentey authored Oct 3, 2023
2 parents d30ebed + 9efa05c commit a902f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Benchmarks/CppBenchmarks/src/CustomHash.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

extern cpp_hash_fn custom_hash_fn;

struct custom_intptr_hash: public std::unary_function<intptr_t, std::size_t>
struct custom_intptr_hash: public std::function<std::size_t(intptr_t)>
{
std::size_t
operator()(intptr_t value) const
Expand Down

0 comments on commit a902f18

Please sign in to comment.