mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Format first-party source according to .clang-format
This commit is contained in:
committed by
manojsdoshi
parent
65dfc5d19e
commit
50760c6935
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user