mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
eclmpiserializer: fix is_vector predicate
allow custom allocator
This commit is contained in:
@@ -442,8 +442,8 @@ protected:
|
|||||||
constexpr static bool value = false;
|
constexpr static bool value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class T1>
|
template<class T1, class Allocator>
|
||||||
struct is_vector<std::vector<T1>> {
|
struct is_vector<std::vector<T1,Allocator>> {
|
||||||
constexpr static bool value = true;
|
constexpr static bool value = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user