mirror of
https://github.com/boostorg/filesystem.git
synced 2025-05-12 13:41:47 +00:00
Do not return a reference to NULL in poison_category(), to make the test pass on clang with variant=release
This commit is contained in:
parent
c6a977c99f
commit
d8a6730d6e
@ -176,7 +176,7 @@ namespace
|
||||
return false;
|
||||
}
|
||||
|
||||
boost::system::error_category* poison_category_aux() { return 0; }
|
||||
boost::system::error_category* poison_category_aux() { return reinterpret_cast<boost::system::error_category*>(8); }
|
||||
boost::system::error_category& poison_category() { return *poison_category_aux(); }
|
||||
|
||||
// compile-only two argument "do-the-right-thing" tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user