Skip to content

Commit 54c509a

Browse files
fix: build
1 parent b582b82 commit 54c509a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/cpp/tests_utils/NOOPSolver.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,17 +324,17 @@ class NOOPSolverForWorker: public NOOPSolver
324324
public:
325325
void get_col_type(char* coltype, int begin, int end) const override
326326
{
327-
std::copy_n(col_types.begin(), end - begin + 1, coltype);
327+
std::ranges::copy_n(col_types.begin(), end - begin + 1, coltype);
328328
}
329329

330330
void get_lb(double* lb, int begin, int end) const override
331331
{
332-
std::copy_n(lbs.begin(), end - begin + 1, lb);
332+
std::ranges::copy_n(lbs.begin(), end - begin + 1, lb);
333333
}
334334

335335
void get_ub(double* ub, int begin, int end) const override
336336
{
337-
std::copy_n(ubs.begin(), end - begin + 1, ub);
337+
std::ranges::copy_n(ubs.begin(), end - begin + 1, ub);
338338
}
339339

340340
protected:

0 commit comments

Comments
 (0)