File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class Solution2 {
56
56
enum {start, end, height};
57
57
58
58
vector<pair<int , int >> getSkyline (vector<vector<int >>& buildings) {
59
- const auto intervals = move ( ComputeSkylineInInterval (buildings, 0 , buildings.size () ));
59
+ const auto intervals = ComputeSkylineInInterval (buildings, 0 , buildings.size ());
60
60
61
61
vector<pair<int , int >> res;
62
62
int last_end = -1 ;
@@ -81,8 +81,8 @@ class Solution2 {
81
81
buildings.cbegin () + right_endpoint};
82
82
}
83
83
int mid = left_endpoint + ((right_endpoint - left_endpoint) / 2 );
84
- auto left_skyline = move ( ComputeSkylineInInterval (buildings, left_endpoint, mid) );
85
- auto right_skyline = move ( ComputeSkylineInInterval (buildings, mid, right_endpoint) );
84
+ auto left_skyline = ComputeSkylineInInterval (buildings, left_endpoint, mid);
85
+ auto right_skyline = ComputeSkylineInInterval (buildings, mid, right_endpoint);
86
86
return MergeSkylines (left_skyline, right_skyline);
87
87
}
88
88
You can’t perform that action at this time.
0 commit comments