summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-22 11:33:54 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-22 12:26:59 +0200
commit98600e2d7cff17f99fdc52934fae89615ebc2b51 (patch)
tree5bd776fc40b7947d84efb3b1a303788d9b6336b2 /src
parentf850054a2a62c13696d567601b6c8f812c0500c4 (diff)
Fix some class/struct warnings on macOS.
Diffstat (limited to 'src')
-rw-r--r--src/decrypted_kdm.h4
-rw-r--r--src/local_time.h4
2 files changed, 4 insertions, 4 deletions
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 <boost/optional.hpp>
-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 <string>
-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);