Fix 1/2 of exception_wrapper under MSVC
[folly.git] / folly / experimental / JSONSchema.h
index fe53b7adb4d04eb5ecf0c87002e02a4dc2bf9302..be3c1d6703fec048d4b3036d039b281172a143ba 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -68,6 +68,6 @@ std::unique_ptr<Validator> makeValidator(const dynamic& schema);
  * Makes a validator for schemas. You should probably check your schema with
  * this before you use makeValidator().
  */
-Validator* makeSchemaValidator();
+std::shared_ptr<Validator> makeSchemaValidator();
 }
 }