Commit cb7f2d04 authored by Kenton Varda's avatar Kenton Varda

Merge pull request #215 from jparyani/fix-realm-gateway

Fix problem with some RealmGateway template helpers
parents 51490784 5254a41a
...@@ -100,8 +100,10 @@ private: ...@@ -100,8 +100,10 @@ private:
}; };
template <typename T> struct InternalRefFromRealmGateway_; template <typename T> struct InternalRefFromRealmGateway_;
template <typename InternalRef, typename ExternalRef> template <typename InternalRef, typename ExternalRef, typename InternalOwner,
struct InternalRefFromRealmGateway_<RealmGateway<InternalRef, ExternalRef>> { typename ExternalOwner>
struct InternalRefFromRealmGateway_<RealmGateway<InternalRef, ExternalRef, InternalOwner,
ExternalOwner>> {
typedef InternalRef Type; typedef InternalRef Type;
}; };
template <typename T> template <typename T>
...@@ -110,8 +112,10 @@ template <typename T> ...@@ -110,8 +112,10 @@ template <typename T>
using InternalRefFromRealmGatewayClient = InternalRefFromRealmGateway<typename T::Calls>; using InternalRefFromRealmGatewayClient = InternalRefFromRealmGateway<typename T::Calls>;
template <typename T> struct ExternalRefFromRealmGateway_; template <typename T> struct ExternalRefFromRealmGateway_;
template <typename InternalRef, typename ExternalRef> template <typename InternalRef, typename ExternalRef, typename InternalOwner,
struct ExternalRefFromRealmGateway_<RealmGateway<InternalRef, ExternalRef>> { typename ExternalOwner>
struct ExternalRefFromRealmGateway_<RealmGateway<InternalRef, ExternalRef, InternalOwner,
ExternalOwner>> {
typedef ExternalRef Type; typedef ExternalRef Type;
}; };
template <typename T> 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