From d638d87a0f781bb9285778eea7491ada3efb7e6e Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Fri, 7 Oct 2016 09:36:38 -0600 Subject: [PATCH] Fix function reassignment --- include/chaiscript/dispatchkit/bootstrap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chaiscript/dispatchkit/bootstrap.hpp b/include/chaiscript/dispatchkit/bootstrap.hpp index 553ff76..4514363 100644 --- a/include/chaiscript/dispatchkit/bootstrap.hpp +++ b/include/chaiscript/dispatchkit/bootstrap.hpp @@ -156,7 +156,7 @@ namespace chaiscript /// Specific version of shared_ptr_clone just for Proxy_Functions template - std::shared_ptr::type> shared_ptr_unconst_clone(const std::shared_ptr::type> &p) + std::shared_ptr::type> shared_ptr_unconst_clone(const std::shared_ptr::type> &p) { return std::const_pointer_cast::type>(p); }