mirror of
https://github.com/boostorg/function.git
synced 2026-01-25 08:22:22 +01:00
Work around Visual C++ copy constructor bug. Fixes #2929.
Based on the patch by Steven Watanabe. [SVN r54619]
This commit is contained in:
@@ -262,6 +262,12 @@ namespace boost {
|
||||
A(a)
|
||||
{
|
||||
}
|
||||
|
||||
functor_wrapper(const functor_wrapper& f) :
|
||||
F(static_cast<const F&>(f)),
|
||||
A(static_cast<const A&>(f))
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user