forked from boostorg/function
Added inline modifier to trivial_manager -
without this, some compilers (VC6) generate linker errors, in any case it is an ODR violation to define this function in every translation unit. [SVN r11984]
This commit is contained in:
@ -180,7 +180,7 @@ namespace boost {
|
||||
|
||||
// The trivial manager does nothing but return the same pointer (if we
|
||||
// are cloning) or return the null pointer (if we are deleting).
|
||||
any_pointer trivial_manager(any_pointer f,
|
||||
inline any_pointer trivial_manager(any_pointer f,
|
||||
functor_manager_operation_type op)
|
||||
{
|
||||
if (op == clone_functor_tag)
|
||||
|
Reference in New Issue
Block a user