From c10c7407d798cce0305b47bd493fb6d52ce214fd Mon Sep 17 00:00:00 2001 From: Colin Unger Date: Thu, 10 Oct 2024 07:33:16 -0700 Subject: [PATCH] Format --- lib/utils/include/utils/rapidcheck/variant.h | 5 +++-- lib/utils/src/utils/rapidcheck/variant.cc | 3 +-- lib/utils/test/src/utils/rapidcheck/variant.cc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/utils/include/utils/rapidcheck/variant.h b/lib/utils/include/utils/rapidcheck/variant.h index 1a295e19e1..bc741ea340 100644 --- a/lib/utils/include/utils/rapidcheck/variant.h +++ b/lib/utils/include/utils/rapidcheck/variant.h @@ -1,15 +1,16 @@ #ifndef _FLEXFLOW_LIB_UTILS_INCLUDE_UTILS_RAPIDCHECK_VARIANT_H #define _FLEXFLOW_LIB_UTILS_INCLUDE_UTILS_RAPIDCHECK_VARIANT_H -#include #include +#include namespace rc { template struct Arbitrary> { static Gen> arbitrary() { - return gen::oneOf(gen::construct>(gen::arbitrary())...); + return gen::oneOf( + gen::construct>(gen::arbitrary())...); } }; diff --git a/lib/utils/src/utils/rapidcheck/variant.cc b/lib/utils/src/utils/rapidcheck/variant.cc index 5fbc9f6910..f0537d454f 100644 --- a/lib/utils/src/utils/rapidcheck/variant.cc +++ b/lib/utils/src/utils/rapidcheck/variant.cc @@ -5,7 +5,6 @@ namespace rc { using T0 = int; using T1 = std::string; -template - struct Arbitrary>; +template struct Arbitrary>; } // namespace rc diff --git a/lib/utils/test/src/utils/rapidcheck/variant.cc b/lib/utils/test/src/utils/rapidcheck/variant.cc index e201c7af8f..ca830fb3ab 100644 --- a/lib/utils/test/src/utils/rapidcheck/variant.cc +++ b/lib/utils/test/src/utils/rapidcheck/variant.cc @@ -1,6 +1,6 @@ #include "utils/rapidcheck/variant.h" -#include #include "test/utils/rapidcheck.h" +#include using namespace ::FlexFlow;