Skip to content

Commit

Permalink
Removed two stand-alone union functions which did not work anyway
Browse files Browse the repository at this point in the history
Hats off to MSVC in this instance for detecting that (at least I think
it did).
  • Loading branch information
rbock committed Dec 25, 2016
1 parent 1b9a4b1 commit e90976e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/sqlpp11/union.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ namespace sqlpp
};
};

/*
template <typename T>
auto union_all(T&& t) -> decltype(statement_t<void, no_union_t>().union_all(std::forward<T>(t)))
{
Expand All @@ -264,6 +265,7 @@ namespace sqlpp
{
return statement_t<void, no_union_t>().union_distinct(std::forward<T>(t));
}
*/
}

#endif

0 comments on commit e90976e

Please sign in to comment.