From 47599fb6256c87d4fca8d967b75042ac57c5adfd Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 9 Dec 2001 12:49:09 +0000 Subject: [PATCH] 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] --- include/boost/function/function_base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/function/function_base.hpp b/include/boost/function/function_base.hpp index 26901c2..835f96c 100644 --- a/include/boost/function/function_base.hpp +++ b/include/boost/function/function_base.hpp @@ -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)