Skip to content

Commit

Permalink
Merge pull request #1032 from mrapp-ke/minor-refactorings
Browse files Browse the repository at this point in the history
Minor refactorings
  • Loading branch information
michael-rapp authored Aug 18, 2024
2 parents 01bed30 + 89ff88b commit c191284
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace boosting {

static const uint32 LIMIT = std::numeric_limits<uint32>::max();
static inline constexpr uint32 LIMIT = std::numeric_limits<uint32>::max();

template<typename IndexIterator>
static inline uint32 fetchNextStatistic(IndexIterator& indexIterator, IndexIterator indicesEnd,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class MLRLCOMMON_API SparseSetView
/**
* The index that is used to indicate that the value at a specific row and column is zero.
*/
static const uint32 MAX_INDEX = std::numeric_limits<uint32>::max();
static inline constexpr uint32 MAX_INDEX = std::numeric_limits<uint32>::max();

public:

Expand Down

0 comments on commit c191284

Please sign in to comment.