Skip to content

Commit a17e0ee

Browse files
Replace macro-based header guard with pragma once
Co-authored-by: wavefunction91 <[email protected]>
1 parent 7e3e1c6 commit a17e0ee

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

tests/collocation_common.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
using namespace GauXC;
2323

2424
#define MAX_NPTS_CHECK 67
25-
#define REF_COLLOCATION_DATA_DEFINED // Guard for hdf5_test_serialization_impl.hpp
2625

2726
struct ref_collocation_data {
2827
std::vector<int32_t> mask;

tests/hdf5_test_serialization_impl.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
#pragma once
1313

1414
// This file contains implementations for HDF5 serialization of test data structures
15-
// Must include struct definitions before this file
16-
#ifndef REF_COLLOCATION_DATA_DEFINED
17-
#error "collocation_common.hpp must be included before hdf5_test_serialization_impl.hpp"
18-
#endif
15+
// Must include collocation_common.hpp before this file to define ref_collocation_data and ref_weights_data
1916

2017
#include "hdf5_test_serialization.hpp"
2118

0 commit comments

Comments
 (0)