From 0c265b9656afdf4b70f6bb8b2b545bbf8e70a014 Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Wed, 25 Jan 2006 09:41:56 +0000 Subject: [PATCH] Fixed obscure MSVC compilation problem --- src/actions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/actions.cpp b/src/actions.cpp index 47b007e7..1e49a97c 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -1254,6 +1254,7 @@ namespace Action { } // Adjust::adjustDateTime int FixIso::run(const std::string& path) + { try { if (!Exiv2::fileExists(path, true)) { std::cerr << path @@ -1302,6 +1303,7 @@ namespace Action { std::cerr << "Exiv2 exception in fixiso action for file " << path << ":\n" << e << "\n"; return 1; + } } // FixIso::run FixIso::AutoPtr FixIso::clone() const