mirror of https://github.com/procxx/kepka.git
Clang-format
This commit is contained in:
parent
ee47a1c904
commit
4fd2f16142
|
@ -98,11 +98,11 @@ template <typename Lambda> constexpr bool is_large = (sizeof(std::decay_t<Lambda
|
|||
Unexpected("base::lambda bad_construct_copy() called!");
|
||||
}
|
||||
|
||||
template <typename Return, typename... Args>
|
||||
[[noreturn]] Return bad_const_call(const void *lambda, Args...) { Unexpected("base::lambda bad_const_call() called!"); }
|
||||
template <typename Return, typename... Args>[[noreturn]] Return bad_const_call(const void *lambda, Args...) {
|
||||
Unexpected("base::lambda bad_const_call() called!");
|
||||
}
|
||||
|
||||
template <typename Return, typename... Args>
|
||||
struct vtable_base {
|
||||
template <typename Return, typename... Args> struct vtable_base {
|
||||
using construct_copy_other_type = void (*)(void *, const void *); // dst, src
|
||||
using construct_move_other_type = void (*)(void *, void *); // dst, src
|
||||
using const_call_type = Return (*)(const void *, Args...);
|
||||
|
|
|
@ -61,7 +61,8 @@ public:
|
|||
private:
|
||||
[[noreturn]] Callable fail_construct() {
|
||||
Unexpected("Attempt to copy-construct a move-only type.");
|
||||
}[[noreturn]] moveable_callable_wrap &fail_assign() {
|
||||
}
|
||||
[[noreturn]] moveable_callable_wrap &fail_assign() {
|
||||
Unexpected("Attempt to copy-assign a move-only type.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue