From 66346f774532b83841024b9c9f80e141a4ced38b Mon Sep 17 00:00:00 2001 From: firewave Date: Mon, 3 Nov 2025 17:34:12 +0100 Subject: [PATCH] removed unnecessary friend declaration of test class from `MathLib` --- lib/mathlib.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/mathlib.h b/lib/mathlib.h index 6b415d3bb55..57fd249c910 100644 --- a/lib/mathlib.h +++ b/lib/mathlib.h @@ -38,8 +38,6 @@ class Token; /** @brief simple math functions that uses operands stored in std::string. useful when performing math on tokens. */ class CPPCHECKLIB MathLib { - friend class TestMathLib; - public: #if defined(HAVE_BOOST) && defined(HAVE_BOOST_INT128) using bigint = boost::multiprecision::int128_t;