Fix 1/2 of exception_wrapper under MSVC
[folly.git] / folly / experimental / JSONSchema.h
index 7f987763b5e5d3f9309dbe7a10f78e8d43a8111d..be3c1d6703fec048d4b3036d039b281172a143ba 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2015 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();
 }
 }