0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

cache: further cleanups

This commit is contained in:
William Pitcock 2016-07-31 01:21:10 -05:00
parent 840ffb0935
commit 4ed0aebcb6

View file

@ -185,7 +185,7 @@ load_help(void)
*/
if(S_ISLNK(sb.st_mode))
{
std::shared_ptr<cachefile> cacheptr = std::shared_ptr<cachefile> {help_dict_oper[ldirent->d_name]};
std::shared_ptr<cachefile> cacheptr = help_dict_oper[ldirent->d_name];
if(cacheptr != NULL)
{