From 5a2e13f973c2ecf1154bcfc83d8c59210eef56c7 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 28 Nov 2018 17:34:33 -0800 Subject: [PATCH] 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 Reviewed-on: https://gem5-review.googlesource.com/c/14675 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- src/base/inifiletest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/inifiletest.cc b/src/base/inifiletest.cc index d33190580..4235997f7 100644 --- a/src/base/inifiletest.cc +++ b/src/base/inifiletest.cc @@ -32,13 +32,13 @@ * Steve Reinhardt */ +#include + #include #include #include #include -#include - #include "base/inifile.hh" using namespace std; -- 2.30.2