From 4499dcd3169a428e06621d82c2d5bd8344611cd9 Mon Sep 17 00:00:00 2001 From: greg7mdp Date: Tue, 25 Apr 2023 11:01:31 -0400 Subject: [PATCH] Forward declaration would not work anyways for non pointer-like members. --- include/g.hpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/g.hpp b/include/g.hpp index 9f42c52..5e0f710 100644 --- a/include/g.hpp +++ b/include/g.hpp @@ -2,15 +2,11 @@ #include #include #include "span.h" +#include "fp.hpp" namespace bls12_381 { -class fp; -class fp2; -class fp6; -class fp12; - // g1 is type for point in G1. // g1 is both used for Affine and Jacobian point representation. // If z is equal to one the point is considered as in affine form. @@ -118,4 +114,4 @@ class g2 static const std::array cofactorEFF; }; -} // namespace bls12_381 \ No newline at end of file +} // namespace bls12_381