From 4ed0aebcb6c67d93465226842aa349c08aede94b Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 31 Jul 2016 01:21:10 -0500 Subject: [PATCH] cache: further cleanups --- ircd/cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/cache.cc b/ircd/cache.cc index be4f8aa68..44f8748c6 100644 --- a/ircd/cache.cc +++ b/ircd/cache.cc @@ -185,7 +185,7 @@ load_help(void) */ if(S_ISLNK(sb.st_mode)) { - std::shared_ptr cacheptr = std::shared_ptr {help_dict_oper[ldirent->d_name]}; + std::shared_ptr cacheptr = help_dict_oper[ldirent->d_name]; if(cacheptr != NULL) {