Commit 5254a41a authored by Jason Paryani's avatar Jason Paryani

Fix problem with some RealmGateway template helpers

It turns out that somehow these templates were missing InternalOwner and
ExternalOwner definitions, which was causing problems if a RealmGateway
was defined with them.
parent aa0f575b
......@@ -100,8 +100,10 @@ private:
};
template <typename T> struct InternalRefFromRealmGateway_;
template <typename InternalRef, typename ExternalRef>
struct InternalRefFromRealmGateway_<RealmGateway<InternalRef, ExternalRef>> {
template <typename InternalRef, typename ExternalRef, typename InternalOwner,
typename ExternalOwner>
struct InternalRefFromRealmGateway_<RealmGateway<InternalRef, ExternalRef, InternalOwner,
ExternalOwner>> {
typedef InternalRef Type;
};
template <typename T>
......@@ -110,8 +112,10 @@ template <typename T>
using InternalRefFromRealmGatewayClient = InternalRefFromRealmGateway<typename T::Calls>;
template <typename T> struct ExternalRefFromRealmGateway_;
template <typename InternalRef, typename ExternalRef>
struct ExternalRefFromRealmGateway_<RealmGateway<InternalRef, ExternalRef>> {
template <typename InternalRef, typename ExternalRef, typename InternalOwner,
typename ExternalOwner>
struct ExternalRefFromRealmGateway_<RealmGateway<InternalRef, ExternalRef, InternalOwner,
ExternalOwner>> {
typedef ExternalRef Type;
};
template <typename T>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment