From ee643ad2a5e8a1d964e43f9935836daec4995934 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 9 Apr 2021 01:03:30 +0100 Subject: Migrate IOHookProvider from reference<> to std::shared_ptr<>. --- src/configparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configparser.cpp') diff --git a/src/configparser.cpp b/src/configparser.cpp index e6b312473..12f6f6c26 100644 --- a/src/configparser.cpp +++ b/src/configparser.cpp @@ -310,7 +310,7 @@ struct Parser { stack.output.insert(std::make_pair(name, tag)); } - // this is not a leak; reference<> takes care of the delete + // this is not a leak; shared_ptr takes care of the delete tag = NULL; } -- cgit v1.3.1-10-gc9f91