mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
fix add_to_engine_blob for iterator=pointer
This commit is contained in:
parent
ba45bd34d6
commit
6d87533ef0
@ -460,7 +460,7 @@ u32 add_to_engine_blob(build_context &bc, const T &a, const size_t len) {
|
||||
template<typename Iter>
|
||||
static
|
||||
u32 add_to_engine_blob(build_context &bc, Iter b, const Iter &e) {
|
||||
using value_type = typename Iter::value_type;
|
||||
using value_type = typename std::iterator_traits<Iter>::value_type;
|
||||
static_assert(is_pod<value_type>::value, "should be pod");
|
||||
|
||||
if (b == e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user