From e14d9a77eb951c5917c8ca9ab63cdae7a5e32fdb Mon Sep 17 00:00:00 2001 From: Sascha Kuehl Date: Fri, 29 Mar 2024 11:39:41 +0100 Subject: [PATCH] fixed name ambiguity --- include/matador/sql/column.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/matador/sql/column.hpp b/include/matador/sql/column.hpp index a14b332..1defa9c 100644 --- a/include/matador/sql/column.hpp +++ b/include/matador/sql/column.hpp @@ -23,9 +23,9 @@ struct column column(sql_function_t func, std::string name); // NOLINT(*-explicit-constructor) column(std::string table_name, std::string name, std::string as); column(std::string table_name, const char* name, std::string as); - column(table &t, const char* name, std::string as); + column(struct table &t, const char* name, std::string as); - bool equals(const column &x) const; + [[nodiscard]] bool equals(const column &x) const; column& as(std::string a);