Skip to content

Commit 5b9b22e

Browse files
authored
Merge pull request #991 from FireDaemon/issues/rename_serializator
finish_macros.h must be included last
2 parents 8293191 + 836b466 commit 5b9b22e

File tree

3 files changed

+29
-28
lines changed

3 files changed

+29
-28
lines changed

include/sqlite_orm/sqlite_orm.h

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18552,50 +18552,38 @@ namespace sqlite_orm {
1855218552
}
1855318553
#pragma once
1855418554

18555-
#if defined(_MSC_VER)
18556-
#if defined(__RESTORE_MIN__)
18557-
__pragma(pop_macro("min"))
18558-
#undef __RESTORE_MIN__
18559-
#endif
18560-
#if defined(__RESTORE_MAX__)
18561-
__pragma(pop_macro("max"))
18562-
#undef __RESTORE_MAX__
18563-
#endif
18564-
#endif // defined(_MSC_VER)
18565-
#pragma once
18566-
1856718555
#include <tuple> // std::tuple
1856818556
#include <utility> // std::pair
1856918557
#include <functional> // std::reference_wrapper
1857018558
#ifdef SQLITE_ORM_OPTIONAL_SUPPORTED
1857118559
#include <optional> // std::optional
1857218560
#endif // SQLITE_ORM_OPTIONAL_SUPPORTED
1857318561

18574-
// #include "conditions.h"
18562+
// #include "conditions.h"
1857518563

18576-
// #include "operators.h"
18564+
// #include "operators.h"
1857718565

18578-
// #include "select_constraints.h"
18566+
// #include "select_constraints.h"
1857918567

18580-
// #include "prepared_statement.h"
18568+
// #include "prepared_statement.h"
1858118569

18582-
// #include "optional_container.h"
18570+
// #include "optional_container.h"
1858318571

18584-
// #include "core_functions.h"
18572+
// #include "core_functions.h"
1858518573

18586-
// #include "function.h"
18574+
// #include "function.h"
1858718575

18588-
// #include "ast/excluded.h"
18576+
// #include "ast/excluded.h"
1858918577

18590-
// #include "ast/upsert_clause.h"
18578+
// #include "ast/upsert_clause.h"
1859118579

18592-
// #include "ast/where.h"
18580+
// #include "ast/where.h"
1859318581

18594-
// #include "ast/into.h"
18582+
// #include "ast/into.h"
1859518583

18596-
// #include "ast/group_by.h"
18584+
// #include "ast/group_by.h"
1859718585

18598-
namespace sqlite_orm {
18586+
namespace sqlite_orm {
1859918587

1860018588
namespace internal {
1860118589

@@ -19659,3 +19647,16 @@ namespace sqlite_orm {
1965919647

1966019648
}
1966119649
}
19650+
19651+
#pragma once
19652+
19653+
#if defined(_MSC_VER)
19654+
#if defined(__RESTORE_MIN__)
19655+
__pragma(pop_macro("min"))
19656+
#undef __RESTORE_MIN__
19657+
#endif
19658+
#if defined(__RESTORE_MAX__)
19659+
__pragma(pop_macro("max"))
19660+
#undef __RESTORE_MAX__
19661+
#endif
19662+
#endif // defined(_MSC_VER)

not_single_header_include/sqlite_orm/sqlite_orm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838
#include "../../dev/storage_impl.h"
3939
#include "../../dev/default_value_extractor.h"
4040
#include "../../dev/storage.h"
41-
#include "../../dev/finish_macros.h"
4241
#include "../../dev/node_tuple.h"
4342
#include "../../dev/get_prepared_statement.h"
4443
#include "../../dev/carray.h"
4544
#include "../../dev/dbstat.h"
4645
#include "../../dev/interface_definitions.h"
46+
#include "../../dev/finish_macros.h"

third_party/amalgamate/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
"dev/storage_impl.h",
4141
"dev/default_value_extractor.h",
4242
"dev/storage.h",
43-
"dev/finish_macros.h",
4443
"dev/node_tuple.h",
4544
"dev/get_prepared_statement.h",
4645
"dev/carray.h",
4746
"dev/dbstat.h",
48-
"dev/interface_definitions.h"
47+
"dev/interface_definitions.h",
48+
"dev/finish_macros.h"
4949
],
5050
"include_paths": ["dev"]
5151
}

0 commit comments

Comments
 (0)