From 48348d6aa53174ff931fc7ab505b54e243ed5a21 Mon Sep 17 00:00:00 2001 From: Bohdan Tyshchenko Date: Wed, 7 Oct 2020 01:33:20 -0700 Subject: [PATCH] Headers order fix, NOLINT project headers --- .../gdal/raster_to_gtiff/gdal_sandbox.h | 7 ++++--- .../gdal/raster_to_gtiff/get_raster_data.cc | 2 +- .../gdal/raster_to_gtiff/raster_to_gtiff.cc | 10 +++++----- oss-internship-2020/gdal/raster_to_gtiff/tests.cc | 10 +++++----- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/oss-internship-2020/gdal/raster_to_gtiff/gdal_sandbox.h b/oss-internship-2020/gdal/raster_to_gtiff/gdal_sandbox.h index f4cc8d7..4f07325 100644 --- a/oss-internship-2020/gdal/raster_to_gtiff/gdal_sandbox.h +++ b/oss-internship-2020/gdal/raster_to_gtiff/gdal_sandbox.h @@ -15,14 +15,15 @@ #ifndef GDAL_SANDBOX_H_ #define GDAL_SANDBOX_H_ +#include + #include #include -#include - -#include "gdal_sapi.sapi.h" #include "sandboxed_api/sandbox2/util/fileops.h" +#include "gdal_sapi.sapi.h" // NOLINT(build/include) + namespace gdal::sandbox { class GdalSapiSandbox : public gdalSandbox { diff --git a/oss-internship-2020/gdal/raster_to_gtiff/get_raster_data.cc b/oss-internship-2020/gdal/raster_to_gtiff/get_raster_data.cc index 9f738ad..27a44df 100644 --- a/oss-internship-2020/gdal/raster_to_gtiff/get_raster_data.cc +++ b/oss-internship-2020/gdal/raster_to_gtiff/get_raster_data.cc @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include "get_raster_data.h" +#include "get_raster_data.h" // NOLINT(build/include) #include #include diff --git a/oss-internship-2020/gdal/raster_to_gtiff/raster_to_gtiff.cc b/oss-internship-2020/gdal/raster_to_gtiff/raster_to_gtiff.cc index 2b1e6c0..f4ce3bd 100644 --- a/oss-internship-2020/gdal/raster_to_gtiff/raster_to_gtiff.cc +++ b/oss-internship-2020/gdal/raster_to_gtiff/raster_to_gtiff.cc @@ -12,17 +12,17 @@ // See the License for the specific language governing permissions and // limitations under the License. -#include #include -#include -#include #include +#include #include +#include +#include #include "sandboxed_api/sandbox2/util/fileops.h" -#include "gdal_sandbox.h" -#include "get_raster_data.h" +#include "gdal_sandbox.h" // NOLINT(build/include) +#include "get_raster_data.h" // NOLINT(build/include) namespace { diff --git a/oss-internship-2020/gdal/raster_to_gtiff/tests.cc b/oss-internship-2020/gdal/raster_to_gtiff/tests.cc index 97df1f6..4f65360 100644 --- a/oss-internship-2020/gdal/raster_to_gtiff/tests.cc +++ b/oss-internship-2020/gdal/raster_to_gtiff/tests.cc @@ -12,18 +12,18 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include #include #include -#include #include #include "gtest/gtest.h" -#include "sandboxed_api/transaction.h" -#include "sandboxed_api/sandbox2/util/temp_file.h" #include "sandboxed_api/sandbox2/util/fileops.h" +#include "sandboxed_api/sandbox2/util/temp_file.h" +#include "sandboxed_api/transaction.h" -#include "gdal_sandbox.h" -#include "get_raster_data.h" +#include "gdal_sandbox.h" // NOLINT(build/include) +#include "get_raster_data.h" // NOLINT(build/include) namespace gdal::sandbox::tests { namespace {