Skip to content

Commit

Permalink
Remove gsl::span usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Aug 30, 2023
1 parent 79b9d02 commit a56c595
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion algorithms/include/gdx/algo/distribute.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace gdx {
*/

template <typename ResultType, template <typename> typename RasterType, typename T>
std::vector<RasterType<ResultType>> distribute(const RasterType<T>& raster, gsl::span<const float> proportions)
std::vector<RasterType<ResultType>> distribute(const RasterType<T>& raster, std::span<const float> proportions)
{
std::vector<RasterType<ResultType>> result;
result.reserve(proportions.size());
Expand Down
1 change: 0 additions & 1 deletion algorithms/include/gdx/algo/sum.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "gdx/algo/algorithm.h"
#include "gdx/exception.h"

#include <gsl/span>
#include <numeric>
#include <type_traits>
#include <unordered_map>
Expand Down

0 comments on commit a56c595

Please sign in to comment.