From 7ec19d1effc52432ec82e1b28a5bbcf67856f739 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Thu, 17 Dec 2020 16:39:54 -0500 Subject: [PATCH] clang: fix struct/class declaration/definition mismatches clang does not like a defined class to be declared as a struct. Signed-off-by: Zygo Blaxell --- include/crucible/progress.h | 2 +- src/bees.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/crucible/progress.h b/include/crucible/progress.h index fa71da3..d2f752c 100644 --- a/include/crucible/progress.h +++ b/include/crucible/progress.h @@ -13,7 +13,7 @@ namespace crucible { template class ProgressTracker { - class ProgressTrackerState; + struct ProgressTrackerState; class ProgressHolderState; public: using value_type = T; diff --git a/src/bees.h b/src/bees.h index e897f59..31b9bc1 100644 --- a/src/bees.h +++ b/src/bees.h @@ -165,7 +165,7 @@ public: T at(string idx) const; friend ostream& operator<< <>(ostream &os, const BeesStatTmpl &bs); -friend class BeesStats; +friend struct BeesStats; }; using BeesRates = BeesStatTmpl;