Add very basic compatibility with folly locks for synchronized
[folly.git] / folly / ExceptionWrapper.h
index 7909fb053c56aa4b5678e26767cc2242ddf33e89..ca57282c524ea0f293216bf8bc9acb416ec25696 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  */
 
-#ifndef FOLLY_EXCEPTIONWRAPPER_H
-#define FOLLY_EXCEPTIONWRAPPER_H
+#pragma once
 
 #include <cassert>
 #include <exception>
 #include <memory>
-#include <folly/String.h>
+#include <folly/ExceptionString.h>
 #include <folly/detail/ExceptionWrapper.h>
 
 namespace folly {
@@ -468,4 +467,3 @@ class try_and_catch<> : public exception_wrapper {
   }
 };
 }
-#endif