Commit 548ad42f authored by Harris Hancock's avatar Harris Hancock

Work around MSVC 'unspecialized template' bug (2/2)

parent 594158e8
......@@ -183,7 +183,7 @@ public:
return castAs<Persistent<SturdyRef2, Owner2>>();
}
::capnp::Request<typename ::capnp::Persistent<SturdyRef, Owner>::SaveParams, typename ::capnp::Persistent<SturdyRef, Owner>::SaveResults> saveRequest(
CAPNP_AUTO_IF_MSVC(::capnp::Request<typename ::capnp::Persistent<SturdyRef, Owner>::SaveParams, typename ::capnp::Persistent<SturdyRef, Owner>::SaveResults>) saveRequest(
::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
protected:
......@@ -431,9 +431,9 @@ public:
return castAs<RealmGateway<InternalRef2, ExternalRef2, InternalOwner2, ExternalOwner2>>();
}
::capnp::Request<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ImportParams, typename ::capnp::Persistent<InternalRef, InternalOwner>::SaveResults> importRequest(
CAPNP_AUTO_IF_MSVC(::capnp::Request<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ImportParams, typename ::capnp::Persistent<InternalRef, InternalOwner>::SaveResults>) importRequest(
::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
::capnp::Request<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ExportParams, typename ::capnp::Persistent<ExternalRef, ExternalOwner>::SaveResults> exportRequest(
CAPNP_AUTO_IF_MSVC(::capnp::Request<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ExportParams, typename ::capnp::Persistent<ExternalRef, ExternalOwner>::SaveResults>) exportRequest(
::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
protected:
......@@ -877,7 +877,7 @@ const ::capnp::_::RawBrandedSchema Persistent<SturdyRef, Owner>::SaveResults::_c
#if !CAPNP_LITE
template <typename SturdyRef, typename Owner>
::capnp::Request<typename ::capnp::Persistent<SturdyRef, Owner>::SaveParams, typename ::capnp::Persistent<SturdyRef, Owner>::SaveResults>
CAPNP_AUTO_IF_MSVC(::capnp::Request<typename ::capnp::Persistent<SturdyRef, Owner>::SaveParams, typename ::capnp::Persistent<SturdyRef, Owner>::SaveResults>)
Persistent<SturdyRef, Owner>::Client::saveRequest(::kj::Maybe< ::capnp::MessageSize> sizeHint) {
return newCall<typename ::capnp::Persistent<SturdyRef, Owner>::SaveParams, typename ::capnp::Persistent<SturdyRef, Owner>::SaveResults>(
0xc8cb212fcd9f5691ull, 0, sizeHint);
......@@ -1226,7 +1226,7 @@ const ::capnp::_::RawBrandedSchema RealmGateway<InternalRef, ExternalRef, Intern
#if !CAPNP_LITE
template <typename InternalRef, typename ExternalRef, typename InternalOwner, typename ExternalOwner>
::capnp::Request<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ImportParams, typename ::capnp::Persistent<InternalRef, InternalOwner>::SaveResults>
CAPNP_AUTO_IF_MSVC(::capnp::Request<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ImportParams, typename ::capnp::Persistent<InternalRef, InternalOwner>::SaveResults>)
RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::Client::importRequest(::kj::Maybe< ::capnp::MessageSize> sizeHint) {
return newCall<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ImportParams, typename ::capnp::Persistent<InternalRef, InternalOwner>::SaveResults>(
0x84ff286cd00a3ed4ull, 0, sizeHint);
......@@ -1238,7 +1238,7 @@ template <typename InternalRef, typename ExternalRef, typename InternalOwner, ty
0x84ff286cd00a3ed4ull, 0);
}
template <typename InternalRef, typename ExternalRef, typename InternalOwner, typename ExternalOwner>
::capnp::Request<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ExportParams, typename ::capnp::Persistent<ExternalRef, ExternalOwner>::SaveResults>
CAPNP_AUTO_IF_MSVC(::capnp::Request<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ExportParams, typename ::capnp::Persistent<ExternalRef, ExternalOwner>::SaveResults>)
RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::Client::exportRequest(::kj::Maybe< ::capnp::MessageSize> sizeHint) {
return newCall<typename ::capnp::RealmGateway<InternalRef, ExternalRef, InternalOwner, ExternalOwner>::ExportParams, typename ::capnp::Persistent<ExternalRef, ExternalOwner>::SaveResults>(
0x84ff286cd00a3ed4ull, 1, sizeHint);
......
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