@@ -5159,7 +5159,7 @@ namespace sqlite_orm {
5159
5159
* Collated something
5160
5160
*/
5161
5161
template<class T>
5162
- struct collate_t : public condition_t {
5162
+ struct collate_t : condition_t {
5163
5163
T expr;
5164
5164
collate_argument argument;
5165
5165
@@ -11515,7 +11515,6 @@ namespace sqlite_orm {
11515
11515
[[nodiscard]] consteval auto quote(F callable) const {
11516
11516
using Sig = function_signature_type_t<decltype(&F::operator())>;
11517
11517
// detect whether overloaded call operator can be picked using `Sig`
11518
- using call_operator_type = decltype(static_cast<Sig F::*>(&F::operator()));
11519
11518
return quoted_scalar_function<F, Sig, N>{this->cstr, std::move(callable)};
11520
11519
}
11521
11520
@@ -11526,7 +11525,6 @@ namespace sqlite_orm {
11526
11525
requires ((stateless<F> || std::copy_constructible<F>))
11527
11526
[[nodiscard]] consteval auto quote(F callable) const {
11528
11527
// detect whether overloaded call operator can be picked using `Sig`
11529
- using call_operator_type = decltype(static_cast<Sig F::*>(&F::operator()));
11530
11528
return quoted_scalar_function<F, Sig, N>{this->cstr, std::move(callable)};
11531
11529
}
11532
11530
@@ -11547,7 +11545,6 @@ namespace sqlite_orm {
11547
11545
requires ((stateless<F> || std::copy_constructible<F>))
11548
11546
[[nodiscard]] consteval auto quote(Args&&... constructorArgs) const {
11549
11547
// detect whether overloaded call operator can be picked using `Sig`
11550
- using call_operator_type = decltype(static_cast<Sig F::*>(&F::operator()));
11551
11548
return quoted_scalar_function<F, Sig, N>{this->cstr, std::forward<Args>(constructorArgs)...};
11552
11549
}
11553
11550
};
@@ -18813,7 +18810,7 @@ namespace sqlite_orm {
18813
18810
this->executor.perform_exec(
18814
18811
connection.get(),
18815
18812
ss.str(),
18816
- [](void* data, int argc, orm_gsl::zstring* argv, orm_gsl::zstring* /*columnName*/) -> int {
18813
+ [](void* data, int /* argc*/ , orm_gsl::zstring* argv, orm_gsl::zstring* /*columnName*/) -> int {
18817
18814
auto& objectNames_ = *(data_t*)data;
18818
18815
objectNames_.emplace_back(argv[0]);
18819
18816
return 0;
0 commit comments