0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Turned alias into an inline namespace which helps with ADL in cte

This commit is contained in:
rbock 2015-01-27 18:27:33 +01:00
parent d9bd5f1b5c
commit abfde5c9a7

View File

@ -62,7 +62,7 @@ namespace sqlpp
static constexpr bool value = true; static constexpr bool value = true;
}; };
namespace alias inline namespace alias
{ {
SQLPP_ALIAS_PROVIDER(a); SQLPP_ALIAS_PROVIDER(a);
SQLPP_ALIAS_PROVIDER(b); SQLPP_ALIAS_PROVIDER(b);