Format first-party source according to .clang-format

This commit is contained in:
Pretty Printer
2020-04-17 09:56:34 -05:00
committed by manojsdoshi
parent 65dfc5d19e
commit 50760c6935
1076 changed files with 86161 additions and 77449 deletions

View File

@@ -38,15 +38,16 @@ public:
@param name The name of the JSON field, used in diagnostics.
@param json The JSON-RPC to parse.
*/
STParsedJSONObject (std::string const& name, Json::Value const& json);
STParsedJSONObject(std::string const& name, Json::Value const& json);
STParsedJSONObject () = delete;
STParsedJSONObject (STParsedJSONObject const&) = delete;
STParsedJSONObject& operator= (STParsedJSONObject const&) = delete;
~STParsedJSONObject () = default;
STParsedJSONObject() = delete;
STParsedJSONObject(STParsedJSONObject const&) = delete;
STParsedJSONObject&
operator=(STParsedJSONObject const&) = delete;
~STParsedJSONObject() = default;
/** The STObject if the parse was successful. */
boost::optional <STObject> object;
boost::optional<STObject> object;
/** On failure, an appropriate set of error values. */
Json::Value error;
@@ -65,22 +66,21 @@ public:
@param name The name of the JSON field, used in diagnostics.
@param json The JSON-RPC to parse.
*/
STParsedJSONArray (std::string const& name, Json::Value const& json);
STParsedJSONArray(std::string const& name, Json::Value const& json);
STParsedJSONArray () = delete;
STParsedJSONArray (STParsedJSONArray const&) = delete;
STParsedJSONArray& operator= (STParsedJSONArray const&) = delete;
~STParsedJSONArray () = default;
STParsedJSONArray() = delete;
STParsedJSONArray(STParsedJSONArray const&) = delete;
STParsedJSONArray&
operator=(STParsedJSONArray const&) = delete;
~STParsedJSONArray() = default;
/** The STArray if the parse was successful. */
boost::optional <STArray> array;
boost::optional<STArray> array;
/** On failure, an appropriate set of error values. */
Json::Value error;
};
} // ripple
} // namespace ripple
#endif