From 45d71790b1ac3192e88d95a0e8542063f194c99b Mon Sep 17 00:00:00 2001 From: Kenneth Yrke Joergensen Date: Tue, 11 Feb 2020 11:01:07 +0100 Subject: [PATCH] Fixed error/warnings from macos clang compile --- src/SimpleTree.h | 2 +- src/ZonotopStrategy.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SimpleTree.h b/src/SimpleTree.h index a4172e3..b098234 100644 --- a/src/SimpleTree.h +++ b/src/SimpleTree.h @@ -58,7 +58,7 @@ class SimpleTree { node_t* _high; signature_t(const SimpleTree::node_t&); } __attribute__((packed)); - friend class ptrie::byte_iterator; + friend struct ptrie::byte_iterator; using nodemap_t = ptrie::map>; SimpleTree() = default; diff --git a/src/ZonotopStrategy.h b/src/ZonotopStrategy.h index 2d15e1d..d5522ad 100644 --- a/src/ZonotopStrategy.h +++ b/src/ZonotopStrategy.h @@ -34,7 +34,6 @@ class ZonotopStrategy { public: - ZonotopStrategy(const ZonotopStrategy& orig) = default; ZonotopStrategy(ZonotopStrategy&&) = default; virtual ~ZonotopStrategy() = default; ZonotopStrategy& operator=(ZonotopStrategy&&) = default;