fix compilation warnings

This commit is contained in:
greg
2019-04-18 21:59:12 -04:00
parent e478a4fc85
commit ff561f34db
12 changed files with 192 additions and 137 deletions
-2
View File
@@ -3077,11 +3077,9 @@ bool LessThanImpl(Span<T> a, Span<T> b) {
// https://bugs.llvm.org/show_bug.cgi?id=27538.
template <typename From, typename To>
struct IsConvertibleHelper {
private:
static std::true_type testval(To);
static std::false_type testval(...);
public:
using type = decltype(testval(std::declval<From>()));
};