projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Consistently have the namespace closing comment
[folly.git]
/
folly
/
experimental
/
JSONSchema.cpp
diff --git
a/folly/experimental/JSONSchema.cpp
b/folly/experimental/JSONSchema.cpp
index 570e2c76bab577e106401eda6a2a62bf27715a6d..d739fd108a90a52f3570a56c0727ccd762d20d63 100644
(file)
--- a/
folly/experimental/JSONSchema.cpp
+++ b/
folly/experimental/JSONSchema.cpp
@@
-1010,7
+1010,7
@@
const char* metaschemaJson =
folly::Singleton<Validator> schemaValidator([]() {
return makeValidator(parseJson(metaschemaJson)).release();
});
folly::Singleton<Validator> schemaValidator([]() {
return makeValidator(parseJson(metaschemaJson)).release();
});
-}
+}
// namespace
Validator::~Validator() = default;
Validator::~Validator() = default;
@@
-1025,5
+1025,5
@@
std::unique_ptr<Validator> makeValidator(const dynamic& schema) {
std::shared_ptr<Validator> makeSchemaValidator() {
return schemaValidator.try_get();
}
std::shared_ptr<Validator> makeSchemaValidator() {
return schemaValidator.try_get();
}
-}
-}
+}
// namespace jsonschema
+}
// namespace folly