From 1f08ed03b95b862a5553b02386dd757890e83e06 Mon Sep 17 00:00:00 2001 From: CoryMartin-NOAA Date: Thu, 10 Aug 2023 14:56:26 +0000 Subject: [PATCH] pragma once --- utils/ioda_example/gdas_meanioda.h | 5 +---- utils/soca/gdas_incr_handler.h | 5 +---- utils/soca/gdas_postprocincr.h | 5 +---- utils/soca/gdas_socahybridweights.h | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/utils/ioda_example/gdas_meanioda.h b/utils/ioda_example/gdas_meanioda.h index c80aacfc0..4184abefb 100644 --- a/utils/ioda_example/gdas_meanioda.h +++ b/utils/ioda_example/gdas_meanioda.h @@ -1,5 +1,4 @@ -#ifndef UTILS_IODA_EXAMPLE_GDAS_MEANIODA_H_ -#define UTILS_IODA_EXAMPLE_GDAS_MEANIODA_H_ +#pragma once #include #include @@ -94,5 +93,3 @@ namespace gdasapp { }; } // namespace gdasapp - -#endif // UTILS_IODA_EXAMPLE_GDAS_MEANIODA_H_ diff --git a/utils/soca/gdas_incr_handler.h b/utils/soca/gdas_incr_handler.h index 378ccb979..ee395df92 100644 --- a/utils/soca/gdas_incr_handler.h +++ b/utils/soca/gdas_incr_handler.h @@ -1,5 +1,4 @@ -#ifndef UTILS_SOCA_GDAS_INCR_HANDLER_H_ -#define UTILS_SOCA_GDAS_INCR_HANDLER_H_ +#pragma once #include @@ -75,5 +74,3 @@ namespace gdasapp { } }; } // namespace gdasapp - -#endif // UTILS_SOCA_GDAS_INCR_HANDLER_H_ diff --git a/utils/soca/gdas_postprocincr.h b/utils/soca/gdas_postprocincr.h index 0a2c7aab2..77e53fb9d 100644 --- a/utils/soca/gdas_postprocincr.h +++ b/utils/soca/gdas_postprocincr.h @@ -1,5 +1,4 @@ -#ifndef UTILS_SOCA_GDAS_POSTPROCINCR_H_ -#define UTILS_SOCA_GDAS_POSTPROCINCR_H_ +#pragma once #include @@ -306,5 +305,3 @@ class PostProcIncr { std::string pattern_; }; } // namespace gdasapp - -#endif // UTILS_SOCA_GDAS_POSTPROCINCR_H_ diff --git a/utils/soca/gdas_socahybridweights.h b/utils/soca/gdas_socahybridweights.h index 641d8a7ea..c0a3dc927 100644 --- a/utils/soca/gdas_socahybridweights.h +++ b/utils/soca/gdas_socahybridweights.h @@ -1,5 +1,4 @@ -#ifndef UTILS_SOCA_GDAS_SOCAHYBRIDWEIGHTS_H_ -#define UTILS_SOCA_GDAS_SOCAHYBRIDWEIGHTS_H_ +#pragma once #include @@ -88,5 +87,3 @@ namespace gdasapp { }; } // namespace gdasapp - -#endif // UTILS_SOCA_GDAS_SOCAHYBRIDWEIGHTS_H_