mirror of
https://github.com/boostorg/utility.git
synced 2025-07-29 20:37:32 +02:00
Qualified checked_delete calls to prevent ADL (reported by Daniel Frey)
[SVN r17636]
This commit is contained in:
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user