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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user