mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make is_ptr() for unique_ptr handle two template parameters.
This commit is contained in:
@@ -242,8 +242,8 @@ protected:
|
||||
constexpr static bool value = true;
|
||||
};
|
||||
|
||||
template<class T1>
|
||||
struct is_ptr<std::unique_ptr<T1>> {
|
||||
template<class T1, class Deleter>
|
||||
struct is_ptr<std::unique_ptr<T1, Deleter>> {
|
||||
constexpr static bool value = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user