Skip to content

Commit

Permalink
remove unused typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffthemedio committed Aug 2, 2022
1 parent 59d485c commit 2c44494
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions universe/ObjectMap.h
Expand Up @@ -491,7 +491,6 @@ std::vector<const std::decay_t<T>*> ObjectMap::findRaw(Pred pred) const

using DecayT = std::decay_t<T>;
using ContainerT = std::decay_t<decltype(Map<DecayT>())>;
using EntryT = typename ContainerT::value_type;

std::vector<const DecayT*> result;
if constexpr (!is_int_range)
Expand Down Expand Up @@ -555,7 +554,6 @@ std::vector<std::decay_t<T>*> ObjectMap::findRaw(Pred pred)

using DecayT = std::decay_t<T>;
using ContainerT = std::decay_t<decltype(Map<DecayT>())>;
using EntryT = typename ContainerT::value_type;

std::vector<DecayT*> result;
if constexpr (!is_int_range)
Expand Down Expand Up @@ -619,7 +617,6 @@ std::vector<std::shared_ptr<const std::decay_t<T>>> ObjectMap::find(Pred pred) c

using DecayT = std::decay_t<T>;
using ContainerT = std::decay_t<decltype(Map<DecayT>())>;
using EntryT = typename ContainerT::value_type;

std::vector<std::shared_ptr<const DecayT>> result;
if constexpr (!is_int_range)
Expand Down Expand Up @@ -680,7 +677,6 @@ std::vector<std::shared_ptr<std::decay_t<T>>> ObjectMap::find(Pred pred)

using DecayT = std::decay_t<T>;
using ContainerT = std::decay_t<decltype(Map<DecayT>())>;
using EntryT = typename ContainerT::value_type;

std::vector<std::shared_ptr<DecayT>> result;
if constexpr (!is_int_range)
Expand Down Expand Up @@ -741,7 +737,6 @@ std::vector<int> ObjectMap::findIDs(Pred pred) const

using DecayT = std::decay_t<T>;
using ContainerT = std::decay_t<decltype(Map<DecayT>())>;
using EntryT = typename ContainerT::value_type;

std::vector<int> result;
if constexpr (!is_int_range)
Expand Down

0 comments on commit 2c44494

Please sign in to comment.