We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ca0391 commit d772936Copy full SHA for d772936
C++/summary-ranges.cpp
@@ -14,7 +14,7 @@ class Solution {
14
if (i < nums.size() && nums[i] == end + 1) {
15
end = nums[i];
16
} else {
17
- string range = to_string(start);
+ auto&& range = to_string(start);
18
if (start != end) {
19
range.append("->" + to_string(end));
20
}
0 commit comments