Replace include guards with "#pragma once" in all header files and in the database model generator scripts. (#506)

This commit is contained in:
MeanSquaredError
2023-07-25 08:00:05 +03:00
committed by GitHub
parent b548cdc72d
commit a085d730c9
323 changed files with 638 additions and 1520 deletions

View File

@@ -1,3 +1,5 @@
#pragma once
/*
* Copyright (c) 2013-2015, Roland Bock
* All rights reserved.
@@ -23,9 +25,6 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef SQLPP_TESTS_SQLITE3_COMPARE_H
#define SQLPP_TESTS_SQLITE3_COMPARE_H
#include <sqlpp11/sqlite3/connection.h>
#include <iostream>
@@ -59,5 +58,3 @@ namespace
assert_equal(lineNo, result, expected);
}
} // namespace
#endif

View File

@@ -1,6 +1,6 @@
#pragma once
// generated by ../../sqlpp11/scripts/ddl2cpp -fail-on-parse BlobSample.sql BlobSample blob
#ifndef BLOB_BLOBSAMPLE_H
#define BLOB_BLOBSAMPLE_H
#include <sqlpp11/char_sequence.h>
#include <sqlpp11/data_types.h>
@@ -75,4 +75,3 @@ struct BlobSample : sqlpp::table_t<BlobSample, BlobSample_::Id, BlobSample_::Dat
};
};
};
#endif

View File

@@ -1,6 +1,6 @@
#pragma once
// generated by ../../sqlpp11/scripts/ddl2cpp -fail-on-parse FpSample.sql FpSample fp
#ifndef FP_FPSAMPLE_H
#define FP_FPSAMPLE_H
#include <sqlpp11/table.h>
#include <sqlpp11/data_types.h>
@@ -75,5 +75,3 @@ struct FpSample : sqlpp::table_t<FpSample, FpSample_::Id, FpSample_::Fp>
};
};
};
#endif

View File

@@ -1,5 +1,4 @@
#ifndef INTEGRAL_SAMPLE_H
#define INTEGRAL_SAMPLE_H
#pragma once
#include <sqlpp11/char_sequence.h>
#include <sqlpp11/data_types.h>
@@ -75,5 +74,3 @@ struct IntegralSample : sqlpp::table_t<IntegralSample, IntegralSample_::SignedVa
};
};
};
#endif

View File

@@ -1,3 +1,5 @@
#pragma once
/*
* Copyright (c) 2013 - 2015, Roland Bock
* All rights reserved.
@@ -23,9 +25,6 @@
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef SQLPP_TAB_SAMPLE_H
#define SQLPP_TAB_SAMPLE_H
#include <sqlpp11/table.h>
#include <sqlpp11/char_sequence.h>
#include <sqlpp11/column_types.h>
@@ -246,5 +245,3 @@ struct TabDateTime : sqlpp::table_t<TabDateTime, TabDateTime_::ColDayPoint, TabD
};
};
};
#endif