Skip to content

Commit

Permalink
Merge pull request #17 from amomchilov/InitializerListBugFix
Browse files Browse the repository at this point in the history
initializer_list(const T *a, size_t l) wasn't implemented properly!
  • Loading branch information
mike-matera authored Dec 31, 2017
2 parents 7ce4ebf + 99b5b21 commit d3e9fb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/initializer_list
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ private:
size_t len;

// Initialize from a { ... } construct
initializer_list(const T *a, size_t l) {
}
initializer_list(const T *a, size_t l): array(a), len(l) { }

public:

Expand Down

0 comments on commit d3e9fb5

Please sign in to comment.