diff Core/FileStorage.cpp @ 146:c7f1cea08f6f

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Oct 2012 17:50:50 +0200
parents e7e19f042eb5
children 7e8b68dd6ace
line wrap: on
line diff
--- a/Core/FileStorage.cpp	Thu Oct 11 17:50:15 2012 +0200
+++ b/Core/FileStorage.cpp	Thu Oct 11 17:50:50 2012 +0200
@@ -293,6 +293,19 @@
 #endif
   }
 
+  void FileStorage::UncheckedRemove(const std::string& uuid)
+  {
+    try
+    {
+      Remove(uuid);
+    }
+    catch (boost::filesystem::filesystem_error)
+    {
+      // Ignore the error
+    }
+  }
+
+
 
   uintmax_t FileStorage::GetCapacity() const
   {