Skip to content

Commit

Permalink
Remove redundant #pragma once
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Sep 4, 2024
1 parent 29ccf5a commit ec46b73
Show file tree
Hide file tree
Showing 31 changed files with 1 addition and 32 deletions.
1 change: 0 additions & 1 deletion artisoptions_christinenonthermal.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef ARTISOPTIONS_H // NOLINT(llvm-header-guard)
#define ARTISOPTIONS_H
// NOLINTBEGIN(modernize*,misc-unused-parameters)
Expand Down
1 change: 0 additions & 1 deletion artisoptions_classic.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef ARTISOPTIONS_H // NOLINT(llvm-header-guard)
#define ARTISOPTIONS_H
// NOLINTBEGIN(modernize*,misc-unused-parameters)
Expand Down
1 change: 0 additions & 1 deletion artisoptions_kilonova_lte.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef ARTISOPTIONS_H // NOLINT(llvm-header-guard)
#define ARTISOPTIONS_H
// NOLINTBEGIN(modernize*,misc-unused-parameters)
Expand Down
1 change: 0 additions & 1 deletion artisoptions_nltenebular.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef ARTISOPTIONS_H // NOLINT(llvm-header-guard)
#define ARTISOPTIONS_H
// NOLINTBEGIN(modernize*,misc-unused-parameters)
Expand Down
1 change: 0 additions & 1 deletion artisoptions_nltewithoutnonthermal.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef ARTISOPTIONS_H // NOLINT(llvm-header-guard)
#define ARTISOPTIONS_H
// NOLINTBEGIN(modernize*,misc-unused-parameters)
Expand Down
1 change: 0 additions & 1 deletion atomic.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef ATOMIC_H
#define ATOMIC_H

Expand Down
1 change: 0 additions & 1 deletion constants.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef CONSTANTS_H
#define CONSTANTS_H

Expand Down
1 change: 0 additions & 1 deletion decay.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef DECAY_H
#define DECAY_H

Expand Down
1 change: 0 additions & 1 deletion exspec.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef EXSPEC_H
#define EXSPEC_H

Expand Down
1 change: 0 additions & 1 deletion gammapkt.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef GAMMAPKT_H
#define GAMMAPKT_H

Expand Down
1 change: 0 additions & 1 deletion globals.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#include <limits>
#ifndef GLOBALS_H
#define GLOBALS_H
Expand Down
1 change: 0 additions & 1 deletion grid.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#include <span>
#ifndef GRIDINIT_H
#define GRIDINIT_H
Expand Down
1 change: 0 additions & 1 deletion input.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef INPUT_H
#define INPUT_H

Expand Down
1 change: 0 additions & 1 deletion kpkt.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef KPKT_H
#define KPKT_H

Expand Down
1 change: 0 additions & 1 deletion ltepop.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef LTEPOP_H
#define LTEPOP_H

Expand Down
1 change: 0 additions & 1 deletion macroatom.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef MACROATOM_H
#define MACROATOM_H

Expand Down
1 change: 0 additions & 1 deletion md5.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* Details: Defines the API for the corresponding MD5 implementation.
*********************************************************************/

#pragma once
#ifndef MD5_H
#define MD5_H

Expand Down
1 change: 0 additions & 1 deletion nltepop.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef NLTEPOP_H
#define NLTEPOP_H

Expand Down
1 change: 0 additions & 1 deletion nonthermal.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef NONTHERMAL_H
#define NONTHERMAL_H

Expand Down
1 change: 0 additions & 1 deletion packet.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef PACKET_H
#define PACKET_H

Expand Down
1 change: 0 additions & 1 deletion radfield.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#include <cstddef>
#ifndef RADFIELD_H
#define RADFIELD_H
Expand Down
1 change: 0 additions & 1 deletion ratecoeff.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef RATECOEFF_H
#define RATECOEFF_H

Expand Down
1 change: 0 additions & 1 deletion rpkt.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef RPKT_H
#define RPKT_H

Expand Down
3 changes: 1 addition & 2 deletions sn3d.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#pragma once
#include <cstddef>
#ifndef SN3D_H
#define SN3D_H

Expand All @@ -19,6 +17,7 @@
#include <atomic>
#include <cassert>
#include <csignal>
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <filesystem>
Expand Down
1 change: 0 additions & 1 deletion spectrum_lightcurve.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef SPECTRUM_H
#define SPECTRUM_H

Expand Down
1 change: 0 additions & 1 deletion stats.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#include <cstddef>
#ifndef STATS_H
#define STATS_H
Expand Down
1 change: 0 additions & 1 deletion thermalbalance.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef THERMALBALANCE_H
#define THERMALBALANCE_H

Expand Down
1 change: 0 additions & 1 deletion update_grid.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef UPDATE_GRID_H
#define UPDATE_GRID_H

Expand Down
1 change: 0 additions & 1 deletion update_packets.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef UPDATE_PACKETS_H
#define UPDATE_PACKETS_H

Expand Down
1 change: 0 additions & 1 deletion vectors.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef VECTORS_H
#define VECTORS_H

Expand Down
1 change: 0 additions & 1 deletion vpkt.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#pragma once
#ifndef VPKT_H
#define VPKT_H

Expand Down

0 comments on commit ec46b73

Please sign in to comment.