Fix warnings

This commit is contained in:
Victor Zverovich
2019-08-11 08:44:12 -07:00
parent 4e99e09bb3
commit c1e97392be
5 changed files with 20 additions and 17 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ template <typename Format> class compiletime_prepared_parts_type_provider {
using value_type = format_part<char_type>;
};
using type = conditional_t<static_cast<bool>(number_of_format_parts),
using type = conditional_t<number_of_format_parts != 0,
format_parts_array<number_of_format_parts>, empty>;
};