From a4db6b048ccb1e210438837fd1938eccbbd623c0 Mon Sep 17 00:00:00 2001 From: Daniel Scharrer Date: Mon, 11 Jun 2018 11:15:45 +0200 Subject: [PATCH] [clang-tidy] gog: Make temporary_directory noncopyable --- src/cli/gog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli/gog.cpp b/src/cli/gog.cpp index 2f964d1..0c8798b 100644 --- a/src/cli/gog.cpp +++ b/src/cli/gog.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include @@ -246,7 +247,7 @@ char hex_char(int c) { } } -class temporary_directory { +class temporary_directory : private boost::noncopyable { fs::path path;