diff Core/FileStorage.cpp @ 142:e7e19f042eb5

fix
author jodogne
date Thu, 11 Oct 2012 13:57:56 +0200
parents fe180eae201d
children 7e8b68dd6ace
line wrap: on
line diff
--- a/Core/FileStorage.cpp	Wed Oct 10 18:22:33 2012 +0200
+++ b/Core/FileStorage.cpp	Thu Oct 11 13:57:56 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
   {