diff --git a/src/sdk/main/include/FeeComponents.h b/src/sdk/main/include/FeeComponents.h index b48109ba8..9a7aca3fa 100644 --- a/src/sdk/main/include/FeeComponents.h +++ b/src/sdk/main/include/FeeComponents.h @@ -268,6 +268,13 @@ class FeeComponents * @return The price for data retrieved from disk. */ [[nodiscard]] inline int64_t getResponseDiskByte() const { return mResponseDiskByte; } + + /** + * Compare two FeeComponents instances and determine if they represent an equivalent set of fees. + * + * @param rhs The right-hand side FeeComponents to compare. + * @return \c TRUE if this FeeComponents and \p rhs represent equivalent fee component values, otherwise \c FALSE. + */ [[nodiscard]] bool operator==(const FeeComponents& rhs) const; private: @@ -325,13 +332,6 @@ class FeeComponents * The price of bandwidth for data retrieved from disk for a response, measured in bytes. */ int64_t mResponseDiskByte = 0LL; - - /** - * Compare two FeeComponents instances and determine if they represent an equivalent set of fees. - * - * @param rhs The right-hand side FeeComponents to compare. - * @return \c TRUE if this FeeComponents and \p rhs represent equivalent fee component values, otherwise \c FALSE. - */ }; } // namespace Hiero