From ae9fb639009b8d780de42b6c1520d7988b7cb5a3 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Sun, 16 Feb 2020 21:38:37 +0100 Subject: [PATCH] fix: made c'tor explicit --- test/tempdir.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tempdir.hpp b/test/tempdir.hpp index 0c28a80..6a03fc5 100644 --- a/test/tempdir.hpp +++ b/test/tempdir.hpp @@ -9,7 +9,7 @@ class TempDir TempDir(TempDir const &) = delete; TempDir & operator=(TempDir const &) = delete; public: - TempDir(char const * prefix); + explicit TempDir(char const * prefix); ~TempDir(); char const * path(); private: