mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-29 19:42:12 +00:00
Merge pull request #86 from mloskot/ml/fix-tracing_allocator-for-vs2017
Fix prototype of tracing_allocator::deallocate
This commit is contained in:
@@ -112,7 +112,7 @@ struct tracing_allocator {
|
||||
return static_cast<T*>(::operator new(n * sizeof(T)));
|
||||
}
|
||||
|
||||
void deallocate(T*& p, std::size_t n) {
|
||||
void deallocate(T* p, std::size_t n) {
|
||||
if (db) {
|
||||
(*db)[typeid(T)].second += n;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user