2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

Warning suppression thanks to Mike Rovner <mike-at-bindkey.com>

[SVN r20617]
This commit is contained in:
Dave Abrahams
2003-11-03 20:45:21 +00:00
parent 3729be263f
commit 91b23c8367
2 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ namespace
// Get the location in which to construct
void* storage = ((rvalue_from_python_storage<T>*)data)->storage.bytes;
new (storage) T(SlotPolicy::extract(intermediate.get()));
new (storage) T(static_cast<T>(SlotPolicy::extract(intermediate.get())));
// record successful construction
data->convertible = storage;