mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Prefer std::array over C-style array in base_uint
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include <ripple/beast/unit_test.h>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
namespace ripple {
|
||||
namespace test {
|
||||
|
||||
@@ -50,6 +52,8 @@ struct nonhash
|
||||
struct base_uint_test : beast::unit_test::suite
|
||||
{
|
||||
using test96 = base_uint<96>;
|
||||
static_assert(std::is_copy_constructible<test96>::value, "");
|
||||
static_assert(std::is_copy_assignable<test96>::value, "");
|
||||
|
||||
void run() override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user