summaryrefslogtreecommitdiff
path: root/le/le_parse_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'le/le_parse_util.cpp')
-rw-r--r--le/le_parse_util.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/le/le_parse_util.cpp b/le/le_parse_util.cpp
index 4455d24..dc614d4 100644
--- a/le/le_parse_util.cpp
+++ b/le/le_parse_util.cpp
@@ -2,6 +2,7 @@
#include <sstream>
#include <iomanip>
+#include <ranges>
#include <boost/assert.hpp>
@@ -16,7 +17,7 @@ std::vector<uint8_t> read_file_part(std::istream& is, std::streamsize offset, si
std::vector<uint8_t> vec;
vec.reserve(length);
- std::copy_n(std::istream_iterator<uint8_t>(is), length, std::back_inserter(vec));
+ std::ranges::copy_n(std::istream_iterator<uint8_t>(is), length, std::back_inserter(vec));
return vec;
}