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

Change subject: base: Fix include order in the inifile unit test.
......................................................................

base: Fix include order in the inifile unit test.

Even though gtest.h is a C++ header, it looks like a C header which
makes the style check hook upset. Lets move it up so the hook doesn't
complain when the file is changed.

Change-Id: Ibcc2d0b7bf3b254c70e55b30379ebd4b70933c26
---
M src/base/inifiletest.cc
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/src/base/inifiletest.cc b/src/base/inifiletest.cc
index d331905..4235997 100644
--- a/src/base/inifiletest.cc
+++ b/src/base/inifiletest.cc
@@ -32,13 +32,13 @@
  *          Steve Reinhardt
  */

+#include <gtest/gtest.h>
+
 #include <fstream>
 #include <iostream>
 #include <string>
 #include <vector>

-#include <gtest/gtest.h>
-
 #include "base/inifile.hh"

 using namespace std;

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

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Ibcc2d0b7bf3b254c70e55b30379ebd4b70933c26
Gerrit-Change-Number: 14675
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabebl...@google.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to