From a1cd4f8dfe2e301b677506c8a79d1f25ecd36b7c Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Mon, 26 Jun 2017 17:04:18 +1000 Subject: [PATCH] Fix friend declaration in WaveView code for non-c++11 builds --- libs/canvas/canvas/wave_view_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/canvas/canvas/wave_view_private.h b/libs/canvas/canvas/wave_view_private.h index 1b5e0be706..dca09c90b5 100644 --- a/libs/canvas/canvas/wave_view_private.h +++ b/libs/canvas/canvas/wave_view_private.h @@ -280,7 +280,7 @@ private: uint64_t _image_cache_threshold; private: - friend WaveViewCacheGroup; + friend class WaveViewCacheGroup; void increase_size (uint64_t bytes); void decrease_size (uint64_t bytes); @@ -338,7 +338,7 @@ public: static void enqueue_draw_request (boost::shared_ptr&); private: - friend WaveViewDrawingThread; + friend class WaveViewDrawingThread; static void wake_up ();