Skip to content

Commit

Permalink
refactor: remove unused declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSeemaier committed Apr 29, 2024
1 parent 8aeed8c commit cd738ba
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions kaminpar-common/datastructures/scalable_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

#include <tbb/scalable_allocator.h>

#include "kaminpar-common/datastructures/noinit_vector.h"

namespace kaminpar {
#ifdef KAMINPAR_ENABLE_HEAP_PROFILING
// @deprecated
Expand All @@ -13,16 +11,5 @@ template <typename T> using scalable_vector = std::vector<T>;
template <typename T> using scalable_vector = std::vector<T, tbb::scalable_allocator<T>>;
#endif

#ifdef KAMINPAR_ENABLE_HEAP_PROFILING
// @deprecated
template <typename T> using scalable_noinit_vector = std::vector<T, NoinitAllocator<T>>;
#else
// @deprecated
template <typename T>
using scalable_noinit_vector = std::vector<T, NoinitAllocator<T, tbb::scalable_allocator<T>>>;
#endif

template <typename T> using ScalableVector = scalable_vector<T>;

template <typename T> using ScalableNoinitVector = scalable_noinit_vector<T>;
} // namespace kaminpar

0 comments on commit cd738ba

Please sign in to comment.