mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Qualified checked_delete calls to prevent ADL (reported by Daniel Frey)
[SVN r17636]
This commit is contained in:
parent
37a6537a5b
commit
25e8284950
@ -43,7 +43,7 @@ template<class T> struct checked_deleter
|
||||
|
||||
void operator()(T * x) const
|
||||
{
|
||||
checked_delete(x);
|
||||
boost::checked_delete(x);
|
||||
}
|
||||
};
|
||||
|
||||
@ -54,7 +54,7 @@ template<class T> struct checked_array_deleter
|
||||
|
||||
void operator()(T * x) const
|
||||
{
|
||||
checked_array_delete(x);
|
||||
boost::checked_array_delete(x);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user