diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-02-01 12:49:38 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2019-02-01 12:49:38 +0100 |
commit | 591b86013b72d4e1cb4953fc5bf4140cbe4feabd (patch) | |
tree | bbe68f2403b7c3c4f0abd73c1f6c3b2ef658621d /vespalib | |
parent | 809e726cb714fd357eec4de4553e0b5d331423ba (diff) |
Adjust forward declarations in vespalib.
Diffstat (limited to 'vespalib')
8 files changed, 8 insertions, 8 deletions
diff --git a/vespalib/src/vespa/vespalib/data/input_reader.h b/vespalib/src/vespa/vespalib/data/input_reader.h index f92ced7e508..41c42327b6c 100644 --- a/vespalib/src/vespa/vespalib/data/input_reader.h +++ b/vespalib/src/vespa/vespalib/data/input_reader.h @@ -8,7 +8,7 @@ namespace vespalib { -class Input; +struct Input; /** * A utility wrapper for the Input interface that supplies us with an diff --git a/vespalib/src/vespa/vespalib/data/output_writer.h b/vespalib/src/vespa/vespalib/data/output_writer.h index 70790fa6b5d..1e8afac0dfa 100644 --- a/vespalib/src/vespa/vespalib/data/output_writer.h +++ b/vespalib/src/vespa/vespalib/data/output_writer.h @@ -7,7 +7,7 @@ namespace vespalib { -class Output; +struct Output; /** * Thin layer on top of the Output interface that supplies us with an diff --git a/vespalib/src/vespa/vespalib/data/slime/inserter.h b/vespalib/src/vespa/vespalib/data/slime/inserter.h index dff37183ac7..e23c7ea7ec0 100644 --- a/vespalib/src/vespa/vespalib/data/slime/inserter.h +++ b/vespalib/src/vespa/vespalib/data/slime/inserter.h @@ -13,7 +13,7 @@ class Slime; namespace slime { -class Cursor; +struct Cursor; //----------------------------------------------------------------------------- diff --git a/vespalib/src/vespa/vespalib/data/slime/json_format.h b/vespalib/src/vespa/vespalib/data/slime/json_format.h index f657f0439bf..dca77780e09 100644 --- a/vespalib/src/vespa/vespalib/data/slime/json_format.h +++ b/vespalib/src/vespa/vespalib/data/slime/json_format.h @@ -13,7 +13,7 @@ class Slime; namespace slime { -class Inspector; +struct Inspector; struct JsonFormat { static void encode(const Inspector &inspector, Output &output, bool compact); diff --git a/vespalib/src/vespa/vespalib/net/tls/crypto_codec.h b/vespalib/src/vespa/vespalib/net/tls/crypto_codec.h index 246fd5cfc66..1eed1ae0612 100644 --- a/vespalib/src/vespa/vespalib/net/tls/crypto_codec.h +++ b/vespalib/src/vespa/vespalib/net/tls/crypto_codec.h @@ -47,7 +47,7 @@ struct DecodeResult { bool frame_decoded_ok() const noexcept { return (state == State::OK); } }; -class TlsContext; +struct TlsContext; // TODO move to different namespace, not dependent on TLS? diff --git a/vespalib/src/vespa/vespalib/net/tls/impl/openssl_crypto_codec_impl.h b/vespalib/src/vespa/vespalib/net/tls/impl/openssl_crypto_codec_impl.h index 21581256ce6..3c491c2bd72 100644 --- a/vespalib/src/vespa/vespalib/net/tls/impl/openssl_crypto_codec_impl.h +++ b/vespalib/src/vespa/vespalib/net/tls/impl/openssl_crypto_codec_impl.h @@ -6,7 +6,7 @@ #include <vespa/vespalib/net/tls/crypto_codec.h> #include <memory> -namespace vespalib::net::tls { class TlsContext; } +namespace vespalib::net::tls { struct TlsContext; } namespace vespalib::net::tls::impl { diff --git a/vespalib/src/vespa/vespalib/util/threadstackexecutorbase.h b/vespalib/src/vespa/vespalib/util/threadstackexecutorbase.h index 6e8fa368df7..e0effb1b52e 100644 --- a/vespalib/src/vespa/vespalib/util/threadstackexecutorbase.h +++ b/vespalib/src/vespa/vespalib/util/threadstackexecutorbase.h @@ -17,7 +17,7 @@ class FastOS_ThreadPool; namespace vespalib { -namespace thread { class ThreadInit; } +namespace thread { struct ThreadInit; } // Convenience macro used to create a function that can be used as an // init function when creating an executor to inject a frame with the diff --git a/vespalib/src/vespa/vespalib/websocket/handler.cpp b/vespalib/src/vespa/vespalib/websocket/handler.cpp index c2010c874dc..ba4a3307c1f 100644 --- a/vespalib/src/vespa/vespalib/websocket/handler.cpp +++ b/vespalib/src/vespa/vespalib/websocket/handler.cpp @@ -10,6 +10,6 @@ struct DummyItem {}; } // namespace vespalib::ws::<unnamed> -template class Handler<DummyItem>; +template struct Handler<DummyItem>; } // namespace vespalib::ws |