Skip to content

Commit a9fce2e

Browse files
committed
auto return type
1 parent c6c1f26 commit a9fce2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cp-algo/util/compress_coords.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <vector>
55
namespace cp_algo {
66
// coords is a range of reference_wrapper<T>
7-
std::vector<int> compress_coords(auto &coords) {
7+
auto compress_coords(auto &coords) {
88
std::vector<int> original;
99
original.reserve(size(coords));
1010
std::ranges::sort(coords);

0 commit comments

Comments
 (0)