mirror of
https://github.com/boostorg/move.git
synced 2025-08-02 13:44:28 +02:00
Avoid reference to null errors in sanitizers
This commit is contained in:
@@ -75,7 +75,8 @@ struct nothrow_holder
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <int Dummy>
|
template <int Dummy>
|
||||||
std::nothrow_t *nothrow_holder<Dummy>::pnothrow;
|
std::nothrow_t *nothrow_holder<Dummy>::pnothrow =
|
||||||
|
reinterpret_cast<std::nothrow_t *>(0x1234); //Avoid reference to null errors in sanitizers
|
||||||
|
|
||||||
} //namespace move_upmu {
|
} //namespace move_upmu {
|
||||||
} //namespace boost{
|
} //namespace boost{
|
||||||
|
Reference in New Issue
Block a user