Avoid reference to null errors in sanitizers
This commit is contained in:
parent
4f8459e868
commit
3e216dd481
@ -34,7 +34,8 @@ struct nothrow
|
||||
};
|
||||
|
||||
template <int Dummy>
|
||||
std::nothrow_t *nothrow<Dummy>::pnothrow;
|
||||
std::nothrow_t *nothrow<Dummy>::pnothrow =
|
||||
reinterpret_cast<std::nothrow_t *>(0x1234); //Avoid sanitizer warnings on references to null
|
||||
|
||||
}} //namespace boost{ namespace interprocess {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user