From abfde5c9a7e7f013891d372c6c440442626a2fba Mon Sep 17 00:00:00 2001 From: rbock Date: Tue, 27 Jan 2015 18:27:33 +0100 Subject: [PATCH] Turned alias into an inline namespace which helps with ADL in cte --- include/sqlpp11/alias_provider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sqlpp11/alias_provider.h b/include/sqlpp11/alias_provider.h index 266ec51e..ba07cf9f 100644 --- a/include/sqlpp11/alias_provider.h +++ b/include/sqlpp11/alias_provider.h @@ -62,7 +62,7 @@ namespace sqlpp static constexpr bool value = true; }; - namespace alias + inline namespace alias { SQLPP_ALIAS_PROVIDER(a); SQLPP_ALIAS_PROVIDER(b);