Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/42503 )

Change subject: mem: Fix some transitive includes.
......................................................................

mem: Fix some transitive includes.

Some headers were including base/logging.hh transitively and
accidentally through base/intmath.hh. Make the includes explicit and
direct.

Change-Id: Ie5852abaf32b3fba5001d29b3d0546103ee492b6
---
M src/mem/ruby/common/Histogram.cc
M src/mem/stack_dist_calc.cc
2 files changed, 2 insertions(+), 0 deletions(-)



diff --git a/src/mem/ruby/common/Histogram.cc b/src/mem/ruby/common/Histogram.cc
index a6569ad..5c7630e 100644
--- a/src/mem/ruby/common/Histogram.cc
+++ b/src/mem/ruby/common/Histogram.cc
@@ -32,6 +32,7 @@
 #include <iomanip>

 #include "base/intmath.hh"
+#include "base/logging.hh"

 Histogram::Histogram(int binsize, uint32_t bins)
 {
diff --git a/src/mem/stack_dist_calc.cc b/src/mem/stack_dist_calc.cc
index 2557bea..280e9cd 100644
--- a/src/mem/stack_dist_calc.cc
+++ b/src/mem/stack_dist_calc.cc
@@ -39,6 +39,7 @@

 #include "base/chunk_generator.hh"
 #include "base/intmath.hh"
+#include "base/logging.hh"
 #include "base/trace.hh"
 #include "debug/StackDist.hh"


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/42503
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ie5852abaf32b3fba5001d29b3d0546103ee492b6
Gerrit-Change-Number: 42503
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to