From 6c8e07793d14a754f790478d412576d55efcae36 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 24 Sep 2002 19:27:51 +0000 Subject: [PATCH] function_base.hpp: - make make_any_pointer inline [SVN r15500] --- include/boost/function/function_base.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/function/function_base.hpp b/include/boost/function/function_base.hpp index 23f0693..4be5557 100644 --- a/include/boost/function/function_base.hpp +++ b/include/boost/function/function_base.hpp @@ -66,21 +66,21 @@ namespace boost { char data[1]; }; - any_pointer make_any_pointer(void* o) + inline any_pointer make_any_pointer(void* o) { any_pointer p; p.obj_ptr = o; return p; } - any_pointer make_any_pointer(const void* o) + inline any_pointer make_any_pointer(const void* o) { any_pointer p; p.const_obj_ptr = o; return p; } - any_pointer make_any_pointer(void (*f)()) + inline any_pointer make_any_pointer(void (*f)()) { any_pointer p; p.func_ptr = f;