Skip to content

Commit

Permalink
remove soci includes from macros prewenting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wsekta committed Feb 1, 2024
1 parent 55eed80 commit a3f4be4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
7 changes: 2 additions & 5 deletions include/orm-cxx/database/binding/Binding.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
#include "ObjectFieldToValues.hpp"
#include "orm-cxx/utils//ConstexprFor.hpp"
#include "orm-cxx/utils/DisableExternalsWarning.hpp"
#include "soci/type-conversion.h"
#include "soci/values.h"

DISABLE_WARNING_PUSH

DISABLE_EXTERNAL_WARNINGS

#include "rfl/to_view.hpp"
#include "soci/type-conversion.h"
#include "soci/values.h"

DISABLE_WARNING_POP

namespace soci
Expand Down
4 changes: 0 additions & 4 deletions include/orm-cxx/database/binding/ObjectFieldFromValues.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
#include "BindingPayload.hpp"
#include "orm-cxx/utils/ConstexprFor.hpp"
#include "orm-cxx/utils/DisableExternalsWarning.hpp"

DISABLE_WARNING_PUSH
DISABLE_EXTERNAL_WARNINGS
#include "soci/values.h"
DISABLE_WARNING_POP

namespace orm::db::binding
{
Expand Down
4 changes: 0 additions & 4 deletions include/orm-cxx/database/binding/ObjectFieldToValues.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
#include "BindingPayload.hpp"
#include "orm-cxx/utils/ConstexprFor.hpp"
#include "orm-cxx/utils/DisableExternalsWarning.hpp"

DISABLE_WARNING_PUSH
DISABLE_EXTERNAL_WARNINGS
#include "soci/values.h"
DISABLE_WARNING_POP

namespace orm::db::binding
{
Expand Down

0 comments on commit a3f4be4

Please sign in to comment.