diff options
author | Hannes Rantzsch <[email protected]> | 2019-05-03 15:00:26 +0200 |
---|---|---|
committer | Hannes Rantzsch <[email protected]> | 2019-05-03 15:00:26 +0200 |
commit | 8edde48f82a69eab41cd4fc97f5abedaa7027398 (patch) | |
tree | 20e389bf92fcfbdb6f6d1fb1794d38e771a28057 /src | |
parent | 00c9c6612c8e1ffaa54a45429baf104ecf658df8 (diff) |
make template friends compile on clang and MSVC
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/tls/asio/asio_async_ops.h | 2 | ||||
-rw-r--r-- | src/lib/tls/asio/asio_stream.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/tls/asio/asio_async_ops.h b/src/lib/tls/asio/asio_async_ops.h index 34d9ce0dd..3520db770 100644 --- a/src/lib/tls/asio/asio_async_ops.h +++ b/src/lib/tls/asio/asio_async_ops.h @@ -112,7 +112,7 @@ class AsyncReadOperation : public AsyncBase<Handler, typename Stream::executor_t { public: /** - * Construct and invoke an AsyncWriteOperation. + * Construct and invoke an AsyncReadOperation. * * @param handler Handler function to be called upon completion. * @param stream The stream from which the data will be read diff --git a/src/lib/tls/asio/asio_stream.h b/src/lib/tls/asio/asio_stream.h index 4449cb14a..c0f8c73f4 100644 --- a/src/lib/tls/asio/asio_stream.h +++ b/src/lib/tls/asio/asio_stream.h @@ -495,9 +495,9 @@ class Stream //! @} protected: - template <typename> friend class detail::AsyncWriteOperation; - template <typename> friend class detail::AsyncReadOperation; - template <typename> friend class detail::AsyncHandshakeOperation; + template <class H, class S, class M, class A> friend class detail::AsyncReadOperation; + template <class H, class S, class A> friend class detail::AsyncWriteOperation; + template <class H, class S, class A> friend class detail::AsyncHandshakeOperation; /** * @brief Helper class that implements Botan::TLS::Callbacks |