From 98600e2d7cff17f99fdc52934fae89615ebc2b51 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 22 Apr 2022 11:33:54 +0200 Subject: Fix some class/struct warnings on macOS. --- src/decrypted_kdm.h | 4 ++-- src/local_time.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/decrypted_kdm.h b/src/decrypted_kdm.h index 6bdd9fcd..9d589e41 100644 --- a/src/decrypted_kdm.h +++ b/src/decrypted_kdm.h @@ -50,7 +50,7 @@ #include -class decrypted_kdm_test; +struct decrypted_kdm_test; namespace dcp { @@ -173,7 +173,7 @@ public: private: - friend class ::decrypted_kdm_test; + friend struct ::decrypted_kdm_test; static void put_uuid (uint8_t ** d, std::string id); static std::string get_uuid (unsigned char ** p); diff --git a/src/local_time.h b/src/local_time.h index b84e3098..c0d8a35e 100644 --- a/src/local_time.h +++ b/src/local_time.h @@ -45,7 +45,7 @@ #include -class local_time_basic_test; +struct local_time_basic_test; namespace dcp { @@ -131,7 +131,7 @@ public: bool operator< (LocalTime const & other) const; private: - friend class ::local_time_basic_test; + friend struct ::local_time_basic_test; void set (struct tm const * tm); void set (boost::posix_time::ptime); -- cgit v1.2.3