[F] Fixed compiler warnings

This commit is contained in:
seleznevae 2018-09-01 19:52:15 +03:00
parent 806cfb5950
commit 63c01a7419

View File

@ -203,8 +203,6 @@ public:
template <typename T, typename ...Ts>
bool write_ln(const T &arg, const Ts &...args)
{
if (sizeof...(args) == 0)
return write_ln(arg);
return write(arg) && write_ln(args...);
}
#else /* __cpp_variadic_templates */
@ -546,7 +544,7 @@ public:
Table &table_;
};
struct table_row_iterator
class table_row_iterator
operator[](std::size_t row_idx)
{
return table_row_iterator(row_idx, *this);