forked from boostorg/move
Avoid reference to null errors in sanitizers
This commit is contained in:
1 parent
0ebd3ba482
commit
135e598bc4
1 file changed
+2
-1
@@ -75,7 +75,8 @@ struct nothrow_holder
|
||||
};
|
||||
|
||||
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 boost{
|
||||
|
||||
Reference in new issue
Block a user