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:
John Maddock
2001-12-09 12:49:09 +00:00
parent 1a7478bbd1
commit 47599fb625

View File

@ -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)