From 2af98ee6d7f3da1f0a5ac8f8b507b709784b957c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 6 Apr 2018 11:30:10 +0100 Subject: C++17 Remove all boost things now in the standard library from scope exit. --- libadhocutil/scopeExit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libadhocutil/scopeExit.h b/libadhocutil/scopeExit.h index 73c2ca2..af9a645 100644 --- a/libadhocutil/scopeExit.h +++ b/libadhocutil/scopeExit.h @@ -1,7 +1,7 @@ #ifndef ADHOCUTIL_SCOPEEXIT_H #define ADHOCUTIL_SCOPEEXIT_H -#include +#include #include #include "visibility.h" @@ -11,7 +11,7 @@ namespace AdHoc { class DLL_PUBLIC ScopeExit { public: /** Callback for code to be run. */ - typedef boost::function Event; + typedef std::function Event; /** * Construct an empty trigger for running code yet to be determined at scope exit -- cgit v1.2.3