MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / empty

Method empty

source/core/StarWeightedPool.hpp:107–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105
106template <typename Item>
107bool WeightedPool<Item>::empty() const {
108 return m_items.empty();
109}
110
111template <typename Item>
112Item WeightedPool<Item>::select(RandomSource& rand) const {

Callers 2

selectMethod · 0.45
selectIndexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected