From 63c01a7419023f1e689efa09abfa38de20d3d178 Mon Sep 17 00:00:00 2001 From: seleznevae Date: Sat, 1 Sep 2018 19:52:15 +0300 Subject: [PATCH] [F] Fixed compiler warnings --- lib/fort.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/fort.hpp b/lib/fort.hpp index a4f2898..af3eb7c 100644 --- a/lib/fort.hpp +++ b/lib/fort.hpp @@ -203,8 +203,6 @@ public: template 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);