From fa4a5cae875f6f32e2155e1cc3d8c64a952af62f Mon Sep 17 00:00:00 2001 From: Chenna Keshava Date: Wed, 14 Jun 2023 16:44:37 -0700 Subject: [PATCH] clang format --- src/ripple/basics/mulDiv.h | 3 ++- src/ripple/beast/hash/impl/xxhash.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ripple/basics/mulDiv.h b/src/ripple/basics/mulDiv.h index 80bf7331644..e338f87c819 100644 --- a/src/ripple/basics/mulDiv.h +++ b/src/ripple/basics/mulDiv.h @@ -35,7 +35,8 @@ auto constexpr muldiv_max = std::numeric_limits::max(); None Returns: `std::optional`: - `std::nullopt` if the calculation overflows. Otherwise, `value * mul / div`. + `std::nullopt` if the calculation overflows. Otherwise, `value * mul + / div`. */ std::optional mulDiv(std::uint64_t value, std::uint64_t mul, std::uint64_t div); diff --git a/src/ripple/beast/hash/impl/xxhash.cpp b/src/ripple/beast/hash/impl/xxhash.cpp index 76d5e7997f5..579cbe0e055 100644 --- a/src/ripple/beast/hash/impl/xxhash.cpp +++ b/src/ripple/beast/hash/impl/xxhash.cpp @@ -87,7 +87,7 @@ You can contact the author at : //************************************** // Includes & Memory related functions //************************************** -//#include "xxhash.h" +// #include "xxhash.h" // Modify the local functions below should you wish to use some other memory // routines for malloc(), free() #include