Avoid reference to null errors in sanitizers

This commit is contained in:
Ion Gaztañaga
2016-11-12 23:54:22 +01:00
parent 0ebd3ba482
commit 135e598bc4

View File

@@ -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{