Skip to content

Commit

Permalink
removed useless includes
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jul 30, 2022
1 parent ec9ee67 commit c190c8e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
12 changes: 9 additions & 3 deletions include/orm/tiny/concerns/buildsqueries.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@
#include "orm/macros/systemheader.hpp"
TINY_SYSTEM_HEADER

#include "orm/databaseconnection.hpp"
#include "orm/exceptions/multiplerecordsfounderror.hpp"
#include "orm/exceptions/recordsnotfounderror.hpp"
#include "orm/ormtypes.hpp"
#include "orm/tiny/tinyconcepts.hpp"
#include "orm/utils/query.hpp"
#include "orm/utils/type.hpp"

TINYORM_BEGIN_COMMON_NAMESPACE

namespace Orm::Tiny::Concerns
namespace Orm::Tiny
{
template<typename Model>
class Builder;

namespace Concerns
{

/*! More complex 'Retrieving results' methods that internally build queries. */
Expand Down Expand Up @@ -314,7 +319,8 @@ namespace Orm::Tiny::Concerns
return static_cast<const Builder<Model> &>(*this);
}

} // namespace Orm::Tiny::Concerns
} // namespace Concerns
} // namespace Orm::Tiny

TINYORM_END_COMMON_NAMESPACE

Expand Down
1 change: 1 addition & 0 deletions include/orm/tiny/tinybuilder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ TINY_SYSTEM_HEADER
#include <range/v3/algorithm/contains.hpp>
#include <range/v3/view/remove_if.hpp>

#include "orm/databaseconnection.hpp"
#include "orm/tiny/concerns/buildsqueries.hpp"
#include "orm/tiny/concerns/queriesrelationships.hpp"
#include "orm/tiny/exceptions/modelnotfounderror.hpp"
Expand Down

0 comments on commit c190c8e

Please sign in to comment.