From aa2ffdfa07570b1422cda9a7aced181ed35e8253 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 24 May 2020 11:30:30 +0100 Subject: Improve static assertion message when a suitable binding trait doesn't exist --- libdbpp/command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdbpp/command.h b/libdbpp/command.h index 34338eb..4820569 100644 --- a/libdbpp/command.h +++ b/libdbpp/command.h @@ -156,7 +156,7 @@ namespace DB { } } else { - static_assert(!&o, "No suitable trait"); + static_assert(std::is_void_v, "No suitable trait"); } } -- cgit v1.2.3