From cf541ca12e5c2d9b9525a3e43fe0335924e71ef3 Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Tue, 10 Jul 2007 08:21:10 +0000 Subject: [PATCH] Added curly braces to make Visual C++ happy. --- src/actions.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/actions.cpp b/src/actions.cpp index bcea1b6e..c2a31ab7 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -753,6 +753,7 @@ namespace Action { } int Rename::run(const std::string& path) + { try { if (!Exiv2::fileExists(path, true)) { std::cerr << path @@ -824,7 +825,7 @@ namespace Action { std::cerr << "Exiv2 exception in rename action for file " << path << ":\n" << e << "\n"; return 1; - } // Rename::run + }} // Rename::run Rename::AutoPtr Rename::clone() const {