diff options
Diffstat (limited to 'source/core/StarWeightedPool.hpp')
-rw-r--r-- | source/core/StarWeightedPool.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/core/StarWeightedPool.hpp b/source/core/StarWeightedPool.hpp index ce09f40..fbd53af 100644 --- a/source/core/StarWeightedPool.hpp +++ b/source/core/StarWeightedPool.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_WEIGHTED_POOL_HPP -#define STAR_WEIGHTED_POOL_HPP +#pragma once #include "StarRandom.hpp" @@ -192,5 +191,3 @@ size_t WeightedPool<Item>::selectIndex(double target) const { } } - -#endif |