Skip to content

Commit

Permalink
add section field update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacyking authored and qicosmos committed May 9, 2024
1 parent f9e029f commit 8f80049
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ormpp/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,8 @@ inline std::string generate_update_sql(Args &&...args) {
inline bool is_empty(const std::string &t) { return t.empty(); }

template <class T>
constexpr bool is_char_array_v =
std::is_array_v<T> &&
std::is_same_v<char, std::remove_pointer_t<std::decay_t<T>>>;
constexpr bool is_char_array_v = std::is_array_v<T>
&&std::is_same_v<char, std::remove_pointer_t<std::decay_t<T>>>;

template <size_t N>
inline constexpr size_t char_array_size(char (&)[N]) {
Expand Down

0 comments on commit 8f80049

Please sign in to comment.