aboutsummaryrefslogtreecommitdiffstats
path: root/storageframework
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-02-03 15:40:50 +0100
committerTor Egge <Tor.Egge@broadpark.no>2019-02-03 15:40:50 +0100
commit4abce7baa2d855cbe21f51cd4df8c8946a1cd907 (patch)
tree4296e6a01920c32dcba7658032b1d9d515745a12 /storageframework
parent0e63320ed4803d38b44f380f3182abcf6d19381d (diff)
Adjust forward declarations in storageframework.
Diffstat (limited to 'storageframework')
-rw-r--r--storageframework/src/vespa/storageframework/defaultimplementation/thread/threadimpl.h2
-rw-r--r--storageframework/src/vespa/storageframework/generic/clock/time.h6
-rw-r--r--storageframework/src/vespa/storageframework/generic/component/component.h2
-rw-r--r--storageframework/src/vespa/storageframework/generic/component/componentregister.h2
-rw-r--r--storageframework/src/vespa/storageframework/generic/component/managedcomponent.h10
-rw-r--r--storageframework/src/vespa/storageframework/generic/metric/metricregistrator.h2
-rw-r--r--storageframework/src/vespa/storageframework/generic/status/statusreportermap.h2
-rw-r--r--storageframework/src/vespa/storageframework/generic/thread/tickingthread.h2
8 files changed, 14 insertions, 14 deletions
diff --git a/storageframework/src/vespa/storageframework/defaultimplementation/thread/threadimpl.h b/storageframework/src/vespa/storageframework/defaultimplementation/thread/threadimpl.h
index bb89c9167a3..17967c66bdf 100644
--- a/storageframework/src/vespa/storageframework/defaultimplementation/thread/threadimpl.h
+++ b/storageframework/src/vespa/storageframework/defaultimplementation/thread/threadimpl.h
@@ -9,7 +9,7 @@
namespace storage::framework::defaultimplementation {
-class ThreadPoolImpl;
+struct ThreadPoolImpl;
class ThreadImpl : public Thread
{
diff --git a/storageframework/src/vespa/storageframework/generic/clock/time.h b/storageframework/src/vespa/storageframework/generic/clock/time.h
index d7977bdba5c..4c578f9b33d 100644
--- a/storageframework/src/vespa/storageframework/generic/clock/time.h
+++ b/storageframework/src/vespa/storageframework/generic/clock/time.h
@@ -14,7 +14,7 @@ namespace storage::framework {
using MonotonicTimePoint = std::chrono::steady_clock::time_point;
using MonotonicDuration = std::chrono::steady_clock::duration;
-class Clock;
+struct Clock;
enum TimeFormat {
DATETIME = 0x01, // 2010-04-26 19:23:03
@@ -98,8 +98,8 @@ std::ostream& operator<<(std::ostream& out, const Time<Type, MPU>& t);
template<typename Type, int MPU>
vespalib::asciistream& operator<<(vespalib::asciistream& out, const Time<Type, MPU>& t);
-class MicroSecTime;
-class MilliSecTime;
+struct MicroSecTime;
+struct MilliSecTime;
/**
* \class storage::framework::SecondTime
diff --git a/storageframework/src/vespa/storageframework/generic/component/component.h b/storageframework/src/vespa/storageframework/generic/component/component.h
index d8f303ca2d9..165d9c47d6e 100644
--- a/storageframework/src/vespa/storageframework/generic/component/component.h
+++ b/storageframework/src/vespa/storageframework/generic/component/component.h
@@ -76,7 +76,7 @@
namespace storage::framework {
-class ComponentRegister;
+struct ComponentRegister;
struct ComponentStateListener {
virtual ~ComponentStateListener() = default;
diff --git a/storageframework/src/vespa/storageframework/generic/component/componentregister.h b/storageframework/src/vespa/storageframework/generic/component/componentregister.h
index 3babd8b29bc..06d5c19866f 100644
--- a/storageframework/src/vespa/storageframework/generic/component/componentregister.h
+++ b/storageframework/src/vespa/storageframework/generic/component/componentregister.h
@@ -15,7 +15,7 @@
namespace storage::framework {
-class ManagedComponent;
+struct ManagedComponent;
struct ComponentRegister {
virtual ~ComponentRegister() {}
diff --git a/storageframework/src/vespa/storageframework/generic/component/managedcomponent.h b/storageframework/src/vespa/storageframework/generic/component/managedcomponent.h
index a3e6a7bfb47..94a44e1b2e8 100644
--- a/storageframework/src/vespa/storageframework/generic/component/managedcomponent.h
+++ b/storageframework/src/vespa/storageframework/generic/component/managedcomponent.h
@@ -21,11 +21,11 @@ namespace metrics {
namespace storage::framework {
-class StatusReporter;
-class MetricRegistrator;
-class MetricUpdateHook;
-class ThreadPool;
-class Clock;
+struct StatusReporter;
+struct MetricRegistrator;
+struct MetricUpdateHook;
+struct ThreadPool;
+struct Clock;
/**
* The upgrade flags can be used to add forward/backward compatability. In most
diff --git a/storageframework/src/vespa/storageframework/generic/metric/metricregistrator.h b/storageframework/src/vespa/storageframework/generic/metric/metricregistrator.h
index 7b05bbe8040..f8ab6699d3c 100644
--- a/storageframework/src/vespa/storageframework/generic/metric/metricregistrator.h
+++ b/storageframework/src/vespa/storageframework/generic/metric/metricregistrator.h
@@ -19,7 +19,7 @@ namespace metrics {
namespace storage::framework {
-class MetricUpdateHook;
+struct MetricUpdateHook;
struct MetricRegistrator {
virtual ~MetricRegistrator() {}
diff --git a/storageframework/src/vespa/storageframework/generic/status/statusreportermap.h b/storageframework/src/vespa/storageframework/generic/status/statusreportermap.h
index 8582f8c2aed..a92a3b86954 100644
--- a/storageframework/src/vespa/storageframework/generic/status/statusreportermap.h
+++ b/storageframework/src/vespa/storageframework/generic/status/statusreportermap.h
@@ -11,7 +11,7 @@
namespace storage::framework {
-class StatusReporter;
+struct StatusReporter;
struct StatusReporterMap {
virtual ~StatusReporterMap() {}
diff --git a/storageframework/src/vespa/storageframework/generic/thread/tickingthread.h b/storageframework/src/vespa/storageframework/generic/thread/tickingthread.h
index d550e78d2f7..b03385da50e 100644
--- a/storageframework/src/vespa/storageframework/generic/thread/tickingthread.h
+++ b/storageframework/src/vespa/storageframework/generic/thread/tickingthread.h
@@ -25,7 +25,7 @@
namespace storage::framework {
-class ThreadPool;
+struct ThreadPool;
typedef uint32_t ThreadIndex;
/**