From 0ccee1759e7ec508ee010acc179a66eb9ac488fd Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Wed, 8 Apr 2020 12:18:24 +0100 Subject: [PATCH] [various] Squash a couple of clang warning wrt friend declarations. --- persistent-data/data-structures/array.h | 2 +- thin-provisioning/cache_stream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/persistent-data/data-structures/array.h b/persistent-data/data-structures/array.h index d7b1f70..1638a43 100644 --- a/persistent-data/data-structures/array.h +++ b/persistent-data/data-structures/array.h @@ -367,7 +367,7 @@ namespace persistent_data { typename ValueTraits::value_type const &v_; }; - friend class resizer; + friend struct resizer; //-------------------------------- diff --git a/thin-provisioning/cache_stream.h b/thin-provisioning/cache_stream.h index ddcbe15..37c1d50 100644 --- a/thin-provisioning/cache_stream.h +++ b/thin-provisioning/cache_stream.h @@ -32,7 +32,7 @@ namespace thin_provisioning { chunk c_; }; - friend class chunk_wrapper; + friend struct chunk_wrapper; block_address block_size_; block_address nr_blocks_;