From 819fd24487aa120e6f0df1488d1afef7621252cb Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 31 Jul 2015 18:27:56 +0200 Subject: comphelper: replace boost::function with std::function Change-Id: I042c97d8472c3afceffba36808687f382571e6c2 --- comphelper/source/misc/scopeguard.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/scopeguard.cxx b/comphelper/source/misc/scopeguard.cxx index 89f3924498df..f159b293ed3b 100644 --- a/comphelper/source/misc/scopeguard.cxx +++ b/comphelper/source/misc/scopeguard.cxx @@ -52,7 +52,7 @@ ScopeGuard::~ScopeGuard() void ScopeGuard::dismiss() { - m_func.clear(); + m_func = nullptr; } FlagGuard::~FlagGuard() -- cgit v1.2.3