blob: e949dee40ee3ee4b2ba3499d4d5251be60d37548 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From d78851b6f87f2472f041102d7b3726ffc009bfad Mon Sep 17 00:00:00 2001
2From: Ming Liu <peter.x.liu@external.atlascopco.com>
3Date: Tue, 6 Jun 2017 05:54:20 +0200
4Subject: [PATCH] ClientStub.hpp: fix a clang compiling issue
5
6A error was observed with clang compiler, as follows:
7| src/RCF/RCF.cpp:49:
8| src/RCF/ClientStub.cpp:28:
9| include/RCF/Future.hpp:49:26: error: 'enrol' is a private member of 'RCF::ClientStub'
10
11it can be fixed by declaring Future as a friend class of ClientStub.
12
13Upstream-Status: Pending
14
15Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
16---
17 include/RCF/ClientStub.hpp | 2 ++
18 1 file changed, 2 insertions(+)
19
20diff --git a/include/RCF/ClientStub.hpp b/include/RCF/ClientStub.hpp
21index 9882cf4..8465625 100755
22--- a/include/RCF/ClientStub.hpp
23+++ b/include/RCF/ClientStub.hpp
24@@ -372,6 +372,8 @@ namespace RCF {
25
26 private:
27
28+ template<typename U>
29+ friend class Future;
30 friend class FutureImplBase;
31
32 template<
33--
342.7.4
35