Fix Windows build by removing two unused declarations (#4708)

Remove the `verify` and `message` function declarations. The explicit
instantiation requests could not be completed because there were no
implementations for those two member functions. It is helpful that the
Microsoft (MSVC) compiler on Windows appears to be strict when it comes
to template instantiation.

This resolves the warning:

  XChainAttestations.h(450): warning C4661: 'bool
  ripple::XChainAttestationsBase<ripple::XChainClaimAttestation>::verify(void)
  const': no suitable definition provided for explicit template
  instantiation request
This commit is contained in:
Scott Determan
2023-09-15 00:02:31 -04:00
committed by GitHub
parent 5427321260
commit 237b406e8c

View File

@@ -437,16 +437,6 @@ public:
template <class T>
void
emplace_back(T&& att);
// verify that all the signatures attest to transaction data.
[[nodiscard]] bool
verify() const;
protected:
// Return the message that was expected to be signed by the attesters given
// the data to be proved.
[[nodiscard]] std::vector<std::uint8_t>
message() const;
};
template <class TAttestation>