From c226dc2451ef4f4571b4fbabde35c237758b6861 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Wed, 25 Mar 2015 16:05:50 +0100 Subject: [PATCH] fixed bracers --- libtestutils/ShortLivingDirectory.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libtestutils/ShortLivingDirectory.cpp b/libtestutils/ShortLivingDirectory.cpp index 48e1d643d..f60e12a86 100644 --- a/libtestutils/ShortLivingDirectory.cpp +++ b/libtestutils/ShortLivingDirectory.cpp @@ -30,9 +30,8 @@ using namespace dev::test; ShortLivingDirectory::ShortLivingDirectory(std::string const& _path) : m_path(_path) { // we never ever want to delete a directory (including all its contents) that we did not create ourselves. - if (boost::filesystem::exists(m_path)) { + if (boost::filesystem::exists(m_path)) BOOST_THROW_EXCEPTION(FileError()); - } boost::filesystem::create_directories(m_path); }