]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
include/scope_guard.h: include <utility>
authorKefu Chai <kchai@redhat.com>
Tue, 27 Jun 2017 08:05:14 +0000 (16:05 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 28 Jun 2017 05:21:00 +0000 (13:21 +0800)
so this header is self-contained.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/scope_guard.h

index 0d06ce93618fe3abb9c6a25f6546999b7188a735..ebffc5dfee5fa3d954094df6b49e992ccdf69c87 100644 (file)
@@ -15,6 +15,8 @@
 #ifndef SCOPE_GUARD
 #define SCOPE_GUARD
 
+#include <utility>
+
 template <typename F>
 struct scope_guard {
   F f;