diff options
Diffstat (limited to 'benchmark')
| -rw-r--r-- | benchmark/bench_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bench_misc.cpp b/benchmark/bench_misc.cpp index 9089890fb..7cb175699 100644 --- a/benchmark/bench_misc.cpp +++ b/benchmark/bench_misc.cpp @@ -46,7 +46,7 @@ class F { template <class T> void operator()(const T &x) const { - sum += static_cast<td::uint32>(x.get_id()); + sum += static_cast<td::uint32>(reinterpret_cast<std::uintptr_t>(&x)); } }; |
