diff options
author | Gabe Black <gabeblack@google.com> | 2018-11-28 17:34:33 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-11-29 02:51:11 +0000 |
commit | 5a2e13f973c2ecf1154bcfc83d8c59210eef56c7 (patch) | |
tree | 6038508eb03a0adf5458220711b67c01d9964576 /src | |
parent | fed1a56919e31fc5d17cc2cdbebd758561e8766a (diff) | |
download | gem5-5a2e13f973c2ecf1154bcfc83d8c59210eef56c7.tar.xz |
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 <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/base/inifiletest.cc | 4 |
1 files 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 <gtest/gtest.h> + #include <fstream> #include <iostream> #include <string> #include <vector> -#include <gtest/gtest.h> - #include "base/inifile.hh" using namespace std; |