Skip to content

Commit

Permalink
Be sure to add initializer for all member of range type
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Oct 7, 2020
1 parent 723c058 commit 380c088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c++/itertools/itertools.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ namespace itertools {
public:
// Denote the full range at compile-time by variable all of a seperate type
struct all_t {};
static inline constexpr all_t all;
static inline constexpr all_t all = {};

// Keep alias index_t for backward compatibility
using index_t = long;
Expand Down

0 comments on commit 380c088

Please sign in to comment.