Fix compilation on gcc 4.4 (#692)

This commit is contained in:
Victor Zverovich
2018-03-22 16:24:36 -07:00
parent 867b330966
commit 1ecdc1a3bb

View File

@ -4090,7 +4090,8 @@ ArgJoin<wchar_t, It> join(It first, It last, const BasicCStringRef<wchar_t>& sep
return ArgJoin<wchar_t, It>(first, last, sep);
}
#if FMT_HAS_GXX_CXX11
#if FMT_HAS_GXX_CXX11 && \
(!FMT_GCC_VERSION || FMT_GCC_VERSION >= 405 || __clang__)
template <typename Range>
auto join(const Range& range, const BasicCStringRef<char>& sep)
-> ArgJoin<char, decltype(std::begin(range))> {