Skip to content

Commit

Permalink
orm removed useless inline
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
silverqx committed Aug 26, 2024
1 parent 97b4e6c commit d172d7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/orm/tiny/model.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,12 @@ namespace Orm::Tiny

/*! Increment a column's value by a given amount. */
template<typename T = std::size_t> requires std::is_arithmetic_v<T>
inline std::tuple<int, TSqlQuery>
std::tuple<int, TSqlQuery>
increment(const QString &column, T amount = 1,
const QList<AttributeItem> &extra = {}, bool all = false);
/*! Decrement a column's value by a given amount. */
template<typename T = std::size_t> requires std::is_arithmetic_v<T>
inline std::tuple<int, TSqlQuery>
std::tuple<int, TSqlQuery>
decrement(const QString &column, T amount = 1,
const QList<AttributeItem> &extra = {}, bool all = false);

Expand Down

0 comments on commit d172d7b

Please sign in to comment.