mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-05 20:50:34 -06:00
Replace include guards with "#pragma once" in all header files and in the database model generator scripts. (#506)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user