Skip to content

Commit 05935dc

Browse files
authored
Update data-stream-as-disjoint-intervals.cpp
1 parent 5e2acb7 commit 05935dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/data-stream-as-disjoint-intervals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class SummaryRanges {
3333
}
3434

3535
vector<Interval> getIntervals() {
36-
return vector<Interval>(intervals_.begin(), intervals_.end());
36+
return {intervals_.begin(), intervals_.end()};
3737
}
3838

3939
private:

0 commit comments

Comments
 (0)