Skip to content

Commit b2b5baf

Browse files
authored
Merge pull request #746 from stephenswat/fix/cxx20_axis
Fix C++20 bug in axis constructor
2 parents 9e7a67d + 74d86a1 commit b2b5baf

File tree

1 file changed

+1
-3
lines changed
  • core/include/detray/utils/grid/detail

1 file changed

+1
-3
lines changed

core/include/detray/utils/grid/detail/axis.hpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ namespace detray::axis {
3131

3232
/// @brief Multi-bin: contains bin indices from multiple axes
3333
template <std::size_t DIM, typename index_t = dindex>
34-
struct multi_bin : public dmulti_index<index_t, DIM> {
35-
constexpr multi_bin() = default;
36-
};
34+
struct multi_bin : public dmulti_index<index_t, DIM> {};
3735

3836
/// @brief Helper to tie two bin indices to a range.
3937
/// @note Cannot use dindex_range for signed integer bin indices.

0 commit comments

Comments
 (0)